How to change background of rich text button on cart page

Solved
rickvdnat
Excursionist
27 0 6

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
4058 928 1135

This is an accepted solution.

Hi again @rickvdnat 

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. 
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
4058 928 1135

This is an accepted solution.

Hi again @rickvdnat 

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. 
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


rickvdnat
Excursionist
27 0 6

excellent!!