[Support request] Change colour price only on Product single page

Home Forums Support [Support request] Change colour price only on Product single page

Home Forums Support Change colour price only on Product single page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #621859
    Jarno

    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.

    #621864
    David
    Staff
    Customer Support

    Hi there,

    you can try this:

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

    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.

    #621889
    David
    Staff
    Customer Support

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

    #621891
    Jarno

    Yeah did the trick thanks!

    #621892
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.