Also, for some reason, even though the fonts are the same for desktop and mobile, they are showing differently for cart item titles and upsell item titles?
<style>
/* Custom fonts for desktop only */
@media screen and (min-width: 767px) {
.mobile-only-footer-image {
display: none;
}
.cart__title {
font-family: "Bricolage Grotesque", sans-serif !important;
}
.h0,
.h1,
.h2,
.h3,
.h4,
.h5,
h1,
h2,
h3,
h4,
h5,
.footer-block__heading,
.collection-hero__title,
.collection__title,
.product__title,
.product-section__heading,
.main-article__heading,
.section-header__heading,
.hero__title,
.related-section__heading,
.title {
font-family: "Momcake", sans-serif !important;
}
.subheading,
.subtitle,
.section-header h2,
.section-header .h2,
.section-title,
.cart__item__title,
.product-upsell__variant-title,
.product-upsell__title,
.sub-title {
font-family: "Homepagebaukasten", sans-serif !important;
}
/* Custom fonts for mobile only */
@media screen and (max-width: 767px) {
.cart__title {
font-family: "Bricolage Grotesque", sans-serif !important;
}
.subheading,
.subtitle,
.section-header h2,
.section-header .h2,
.section-title,
.sub-title {
font-family: "Momcake", sans-serif !important;
}
.h0,
.h1,
.h2,
.h3,
.h4,
.h5,
h1,
h2,
h3,
h4,
h5,
.footer-block__heading,
.collection-hero__title,
.collection__title,
.product__title,
.product-section__heading,
.main-article__heading,
.section-header__heading,
.hero__title,
.related-section__heading,
.cart__item__title,
.product-upsell__variant-title,
.product-upsell__title,
.title {
font-family: "Homepagebaukasten", sans-serif !important;
}
css
.line_item .product-type {
font-size: 5px;
}
</style>
I am trying to use “Homepagebaukasten” for both desktop and mobile for ‘.cart__item__title’, ‘.product-upsell__variant-title’ and ‘.product-upsell__title’, and I think the coding is correct?
Desktop
“GIFT BAG” is bold
Mobile
“GIFT BAG” is not bold