Is it possible to change the font of one section on homepage?

Taj29
Excursionist
42 3 9

I was hoping I'd be able to change the font of one section of my homepage to a script font. Maybe I have to change it in the sections>text-columns.liquid or would it in themes.scss.liquid? I know I can change it the font in theme settings but it would change the font of the entire site and I just want to edit one section. Will something like that work?

0 Likes
Quyen_Beo
Explorer
58 7 12

You can do it for a specific section via theme.scss.liquid

Each homepage section will have an id, you can base on that and put in the CSS line
eg:

#shopify-section-feature-row h2,
#shopify-section-feature-row h3,
#shopify-section-feature-row p {
  font-family: your-font-here;
}

Quyen_Beo_0-1619712629416.png

 

 

 

Was my reply helpful? Please Like and ✔️ Accept Solution. This mean alot to me
0 Likes