How to edit the background color of this to white?

Topic summary

A user seeks help changing a grey background to white on their Shopify store (cosmos-corner.com) using the Refresh theme. Initial CSS attempts were unsuccessful.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes
  • Click Actions → Edit code on the active theme
  • Open the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add this code at the bottom:
main#MainContent {
  background: white !important;
}
  • Save changes

The solution was confirmed successful by the original poster, who thanked the community for the assistance.

Summarized with AI on November 13. AI used: claude-sonnet-4-5-20250929.

Hi, Id like to change this from grey to white background color, ive tried chanhging it with css code didnt work, I use Refresh Theme.

Any help is appreciated

1 Like

Hey @future3 ,

Can you share the store link please?

1 Like

Hi @future3

Would you mind to share your store URL? Thanks!

1 Like

https://cosmos-corner.com/policies/terms-of-service

1 Like

Thanks for the info, 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:

main#MainContent {
    background: white !important;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

thanks so much

1 Like