Can you change the font only for blog posts?

Hi, I have my shop set with fonts that I think are great for the shop. However, for my blog, I want to make sure it’s very readable so I’m looking to go with a very basic font, like Roboto. Is there a way to just change the font for blog posts only, where it won’t affect the rest of the shop?

Hi @kianialexandra

you can just add some css code for post page. if you can share or DM me your store url, I can tell you how to do.

@kianialexandra ,

Yes you can include the different font for blog post, then you can use CSS for blog post.

Hi, @kianialexandra

You can try this code

  1. Go to Online Store-> Theme->Edit code
  2. Asset-> your theme base CSS file ->paste the below code at the bottom of the file.
.template-article .rte{
    font-family: roboto !important;
}

Hi, is there a way to only change the body or paragraph to this font? Not all the heading and everything?

you can try this, plz remove the previous one

.template-article #main .rte{
    font-family: roboto !important;
}

Hi, it doesn’t seem to work :confused:

can you share link of blog page

Hi, yes I have a blog post here

You can use “skohlu” to get passed the password page

plz use this code

.article-template__content p {
    font-family: roboto;
}

You did it!! You’re the best :smiley: thank you soooo much!