Re: How to change overwriting #shopify-section-header font-size?

Solved

How to change overwriting #shopify-section-header font-size?

code-monkey667
Visitor
2 0 1

Hello all,

 

I can't seem to change the somewhy huge "Added to cart" text and shopping cart icon (from header) to a smaller size. 

I tried adding this to base.css

 

#shopify-section-header h2 {
font-size: 16px;
}

 

but I guess the add to cart event overwrites this? Also I don't know how to target the shopping cart number.

All help would be much appreciated!

Site link: https://henrikakurkimaki.art/
pw cheosu

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8832 2111 2591

This is an accepted solution.

Hi @code-monkey667 

I cant locate in the tool where this come from. 

Made4uoRibe_0-1697647045342.png

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • 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:

 

#shopify-section-header div h2, #shopify-section-header div {
    font-size: 16px !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_1-1697647242328.png

     

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

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
8832 2111 2591

This is an accepted solution.

Hi @code-monkey667 

I cant locate in the tool where this come from. 

Made4uoRibe_0-1697647045342.png

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • 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:

 

#shopify-section-header div h2, #shopify-section-header div {
    font-size: 16px !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_1-1697647242328.png

     

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.
code-monkey667
Visitor
2 0 1

Thank you, this worked wonders!