HELP Please! Please help me change the font in one section only

Solved
latarshalewis44
Tourist
5 0 1

Please help me change the font in one section of my page only.  I have tried everything.

0 Likes
LitExtension
Shopify Partner
641 66 116

This is an accepted solution.

Hi @latarshalewis44,

Each section has an ID so you can use it to style for that section.

#shopify-section-xxxx .title{

font-family: "font name";

}

But on each section, you also can define a class name to set font size different on each collection.

The section schema has the "class" propriety. You can find your section and add the custom class there:

Example:

{% schema %}

  {

    "name": "Your section name",

    "class": "shopify-section--your-class",

    ...

  }

{% endschema %}

- Please place this code at the end of the "theme.scss" file.

.shopify-section--your-class {

  font: "your_font_name";

}

Screenshot to refer: https://prnt.sc/118ugtx

Hope this helps. In case you can not do that, you can add me as a staff, I'll check it for you.

Thanks!

LitExtension - Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!
0 Likes