Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #61152
    dancingblu
    Member

    Hi there!

    I was wondering if there was a way to have a different colour background for a single page? I don’t want it as bright a blue as it is on the rest of my site.

    My website is http://www.blue-jay.co.uk and the page ID is 499 (http://blue-jay.co.uk/gallery-2/)

    I’ve tried:

    body.page-id-499 {
        background-color: #222930;
    }

    Both in Custom CSS and in the body section of the Style Sheet to no effect? (p.s. these were tried separately, not at the same time lol)

    Any help would be great!

    #61319
    Sakin
    Keymaster

    @dancingblu: It’s because you have added in your own background from custom background and it’s overwriting your css. To make that, you can add the following css instead:

    body.custom-background.page-id-499 {
        background-color: #222930;
    }
    #61404
    dancingblu
    Member

    Thanks Sakin that worked a treat!

    I applied it to a category page in the end and now it looks just how I want it – much appreciated!

    #61485
    Sakin
    Keymaster

    @dancingblu: Thanks for your appreciation.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Single Page Background Colour’ is closed to new replies.