Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How to change background of rich text button on cart page

Solved

How to change background of rich text button on cart page

nijntjelover
Explorer
82 0 14

I want to keep this button the yellow color, but i want to change the surrounding background to lighter grey-ish or just white. 

 

How do i do it. tnx!

 

bundo.nl

 

Screenshot 2023-10-19 at 14.46.50.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9085 2172 2680

This is an accepted solution.

Hi again @nijntjelover 

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:

 

.rich-text.content-container.color-background-2.gradient.rich-text--full-width.content-container--full-width.section-template--19687238369604__173c6e76-5b2f-4047-a5a2-57a7dcdcaa86-padding {
    background: #f2f2f2 !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1697746670897.png
  • Note: You can change the color you like. 
If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
9085 2172 2680

This is an accepted solution.

Hi again @nijntjelover 

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:

 

.rich-text.content-container.color-background-2.gradient.rich-text--full-width.content-container--full-width.section-template--19687238369604__173c6e76-5b2f-4047-a5a2-57a7dcdcaa86-padding {
    background: #f2f2f2 !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1697746670897.png
  • Note: You can change the color you like. 
If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
nijntjelover
Explorer
82 0 14

excellent!!