How to style the header text in collections page with CSS?

Solved

How to style the header text in collections page with CSS?

ishaankatharos
Excursionist
29 1 10

How to style the header text in collections page with CSS? I want adjust the side margins and font size according to mobile view.

Page URL: https://katharos.co.in/collections/aromadiffusercombo

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8376 2003 2462

This is an accepted solution.

Hi @ishaankatharos ,

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
@media only screen and (max-width: 720px){
.section__inner.rich-text__inner {
    margin-left: 10px;
    margin-right: 10px;
}
h2.rich-text__heading.ff-heading.fs-heading-2-base.fs-heading-1-base-ns {
    font-size: 30px;
}
}

Result:

Ribe_Dagandara_0-1689456119141.png

I hope it help. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
8376 2003 2462

This is an accepted solution.

Hi @ishaankatharos ,

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
@media only screen and (max-width: 720px){
.section__inner.rich-text__inner {
    margin-left: 10px;
    margin-right: 10px;
}
h2.rich-text__heading.ff-heading.fs-heading-2-base.fs-heading-1-base-ns {
    font-size: 30px;
}
}

Result:

Ribe_Dagandara_0-1689456119141.png

I hope it help. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.