Please could somebody tell me how I can change the background colour of a rich text section using Custom CSS. In the attached I would like to change the pink to a different colour, but I have used the 21 available Colour schemes in the Dawn theme.
Do you like to only change this rich text section right?
If it is check 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:
Hey — in Shopify’s Dawn theme, the background colors of sections are usually controlled by the theme’s color schemes. If you’ve already used all 21 available schemes, you’ll need a bit of Custom CSS to override it.
For a rich text section, you could do something like this:
Replace #yourcolor with the color you want. The !important ensures it overrides the theme’s default colors. You can add this CSS in Online Store → Themes → Customize → Theme Settings → Custom CSS.
If you’d rather avoid touching code, my app EasyEdits can make this super simple — you can visually select the section and change the background color directly, and the changes stick even on a trial or new theme.
Full disclaimer: I’m the developer of EasyEdits, so feel free to reach out if you have any questions about how to make it work for your store.