How do I make this heading use the Roboto font?

Solved

How do I make this heading use the Roboto font?

empiricalarby
Trailblazer
230 1 52

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
Shopify Partner
878 190 184

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
6292 1711 2056

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 Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Create high-converting pages - PageFly Page Builder.


empiricalarby
Trailblazer
230 1 52

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

Dan-From-Ryviu
Shopify Partner
10220 2032 2102

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 solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

PageFly-Oliver
Shopify Partner
878 190 184

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.