[Resolved] Change the background colour of one particular page

Home Forums Support [Resolved] Change the background colour of one particular page

Home Forums Support Change the background colour of one particular page

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #829368
    Sebastián

    Im pretty sure I’ve asked this before (how can I do to search all my open topics in the past?!)

    I want to change the background colour of a particular page (Example: /blog).

    What code do I need?

    Thanks!

    #829378
    David
    Staff
    Customer Support

    Hi there,

    you can view your support topics by clicking on the Forum Profile button at the top of the page ( beside the search field).

    This CSS would change the blog background color:

    body.blog {
        background-color: #dddddd;
    }

    body.page-id-XX would allow you to target a post by its ID. For posts it would be body.postid-xx

    #829527
    Sebastián

    Thanks David!

    #829532
    David
    Staff
    Customer Support

    You’re welcome

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