Site logo

Archived topic

Change colour price only on Product single page

5 replies · Started by Jarno on July 12, 2018

Viewing posts 1–6 of 6

Because the colour of the price is being set globally the text on my single product page is not visible.
It has a white background and white text.

I soly want to change the colour of the price on the singlpe product page to a certain colour.

Hi there,

you can try this:

.single-product .entry-summary .woocommerce-Price-amount.amount {
	color: #000;
}

It works, however it also changes the colour of the related products price on the single product page.
I forgot to mention this in initial post.

So I need to exlude the related product price colour from this.

I edited the code above to isolate it to the summary. Let me know.

Yeah did the trick thanks!

Glad to be of help

This archived topic is closed to new replies.