Refresh Theme - Modify Background color of my TITLE

Topic summary

A Shopify store owner wants to change the background color of all H1 titles from black to match their site’s gold color scheme.

Proposed Solutions:

Two community members offered CSS-based fixes:

  • Solution 1: Add CSS targeting .rich-text.content-container elements to the end of the base.css file, setting background-color to #000

  • Solution 2: Insert CSS targeting #mainMainContent with background: unset !important at the bottom of the base.css file

Both solutions follow similar implementation steps: Navigate to Online Store → Theme → Edit Code, locate the base.css file, and paste the provided CSS code at the end.

Note: The original post and responses contain corrupted/reversed text that makes some technical details difficult to verify. The user specifically wants to remove the black background behind gold elements on their site.

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

Hi @BraseBreizh

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

main#MainContent {

background: unset !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

1 Like