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

Solved
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
3985 912 1115

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

     

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 2 (2)
Made4uo-Ribe
Shopify Partner
3985 912 1115

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

     

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


code-monkey667
Visitor
2 0 1

Thank you, this worked wonders!