haleonearth
4/27/2018 - 6:04 AM

hubspot blog breadcrumbs

creating hubspot blog breadcrumbs to match site breadcrumbs

/* BREADCRUMBS */
.breadcrumbs-container {
	margin-top: 16px;
}

#breadcrumb {
	margin: 0 auto;
	width: 90%;
	padding-bottom: 5px;
}

@media only screen and (min-width: 992px) {
	#breadcrumb {
		width: 80%;
		padding-bottom: 0;
	}
}

@media only screen and (min-width: 1200px) {
	#breadcrumb {
		width: 70%;
	}
}

.breadcrumb {
	list-style: none;
	display: flex;
	padding: 0;
}

.breadcrumb-item {
	margin-right: 10px;
	font-size: 1.2rem !important;
	font-weight: 400 !important;
	font-family: "Lora", serif;
}

.breadcrumb-item a {
	color: #28a745;
	text-decoration: none;
	font-family: "Lora", serif;
}

.breadcrumb-item a:hover {
	color: #19692c !important;
}

.breadcrumb-item:nth-child(1)::after {
	content: "\2000 /";
	color: #6c81b1;
}

.hs-blog-post .breadcrumb-item:nth-child(2)::after {
	content: "\2000 /";
	color: #6c81b1;
}

.hs-blog-listing .breadcrumb-item:nth-of-type(2) a {
	color: #222529 !important;
}

.hs-blog-post .breadcrumb-item:nth-of-type(3) {
	color: #222529;
}

.hs-blog-listing .breadcrumb-item:nth-of-type(3) {
	display: none;
}


.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
}

.breadcrumb-item {
  margin-right: 10px;
  font-size: 1rem !important;
  font-weight: 400 !important;
	font-family: "Lato", sans-serif;
}


.breadcrumb-item a {
  color: #28a745;
  text-decoration: none;
    font-family: "Lato", sans-serif;
}

.breadcrumb-item a:hover {
  color: #19692c !important;
}

.breadcrumb-item:nth-child(1)::after {
  content: "\2000 /";
  color: #6C81B1;
}

.hs-blog-post .breadcrumb-item:nth-child(2)::after {
  content: "\2000 /";
  color: #6C81B1;
}

.hs-blog-listing .breadcrumb-item:nth-of-type(2) a {
  color: #222529 !important;
}

.hs-blog-post .breadcrumb-item:nth-of-type(3) {
  color: #9AA9A4 !important;
}

.hs-blog-listing .breadcrumb-item:nth-of-type(3) {
  display: none;
}

.hs-blog-post .breadcrumb-item:nth-of-type(3) {
  color: #9AA9A4 !important;
  width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
}

@media only screen and (min-width: 900px) { 
  .hs-blog-post .breadcrumb-item:nth-of-type(3) {
    width: 75px;
    overflow: visible;
  }
}