New Shopify Certification now available: Liquid Storefronts for Theme Developers

How do I make this heading use the Roboto font?

Solved
empiricalarby
Pathfinder
109 1 23

When I navigate to this page: https://empiricalwater.com/blogs/blog

Notice the font of the title, Coffee Storage Solved

Desktop Screenshot 2023.09.06 - 23.05.31.79.png

But when I click on the post, (link: https://empiricalwater.com/blogs/blog/coffee-storage-solved) it looks like this

Desktop Screenshot 2023.09.06 - 23.05.39.78.png

I would like that title to appear as it does in the second image. If anyone can help write an override of some sort for that, I'd be greatly appreciative. Thanks.

Accepted Solution (1)
PageFly-Oliver
Navigator
503 98 90

This is an accepted solution.

Hi @empiricalarby ,

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at the bottom of the file -> Save

.blog-articles__article.article .h2{
font-family: var(--font-heading-family) !important
}



Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 4 (4)
Moeed
Shopify Partner
3051 761 925

Hey @empiricalarby 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
h1.article-template__title {
    font-family: 'Iosevka Extended Medium' !important;
}
</style>

RESULT:

Moeed_0-1694067913638.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
empiricalarby
Pathfinder
109 1 23

Thanks but this is the opposite of what I needed. I need them to both be the other font.

Dan-From-Ryviu
Shopify Partner
5679 1047 1073

Hi @empiricalarby 

You can made it by adding this CSS code before </body> tag of your theme.liquid file

.blog-articles .card__heading a { font-family: var(--font-heading-family !important; }

Screenshot 2023-09-07 at 14.49.23.png

 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

PageFly-Oliver
Navigator
503 98 90

This is an accepted solution.

Hi @empiricalarby ,

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at the bottom of the file -> Save

.blog-articles__article.article .h2{
font-family: var(--font-heading-family) !important
}



Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.