WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't Get a Different Background Image for a Specific Page (8 posts)

  1. burrit0s
    Member
    Posted 1 year ago #

    Hello I am using theme Grey White Black. The page in question is http://ilovelightshows.com/community/

    I have been trying to change the background color of ONLY that page for a little bit now and can't figure it out. As you can see I've already made it a single column and made it wider using

    .page-id-366 .content {width: 1200px;
    }

    I thought I could use this code to change the background color to black

    .page-id-366 .body {background-color: #190707;
    }

    but it doesn't seem to work. Any ideas?

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Body is not a class -- it's a tag. So try:

    body.page-id-366

  3. burrit0s
    Member
    Posted 1 year ago #

    Thanks for the response WPyogi. It didn't work I put in

    body.page-id-366 {background-color:#190707
    }
  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You are missing a semi-colon after the color code.

  5. burrit0s
    Member
    Posted 1 year ago #

    good catch! it still didn't work though

  6. Paul de Wouters
    Human Made
    Posted 1 year ago #

    you need to add
    background-image: none;

  7. burrit0s
    Member
    Posted 1 year ago #

    Paul YOU ARE THE MAN!!! Thanks so much :)

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Right on!

Topic Closed

This topic has been closed to new replies.

About this Topic