How to change color of background and text on product page?

I wanted to change the color of the background on the product page to black but when I did that the text wasn’t visible. how do I change the text to white?

1 Like

Hi @IgniteItLighter ,

Would you mind to share your store URL website? with password if its protected. Thanks!

https://d2e314-3.myshopify.com/

HI @IgniteItLighter

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

.gradient {

background: black !important;

color: white !important;

}

button.share-button__button, .product__title h1, s.price-item.price-item–regular {

color: white !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

1 Like

is there a way to make the entire website’s background black with white text?

You can try this code:

h2, h4 {color: white !important;}