[Resolved] Change background colour – single product page

Home Forums Support [Resolved] Change background colour – single product page

Home Forums Support Change background colour – single product page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #621853
    Jarno

    I tried changing the background colour of the single product page by:

    .product .inside-article {
         background-color: red;
    }

    However this only changes the background colour of the container, I need the whole background to change to a certain colour.

    GeneratePress 2.1.3
    #621861
    David
    Staff
    Customer Support

    Hi there,

    You can target the body of the single product page like so: body.single-product
    So you can add that selector to your above CSS – just separate the two with a comma.

    #621893
    Jarno

    Thanks for pointing me in the right direction. You also need to target .one-container.single-product .site-content

    #621904
    David
    Staff
    Customer Support

    Aah yes, glad you got it resolved.

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