WordPress.org

Ready to get started?Download WordPress

Forums

Vantage
Background color of a single page (6 posts)

  1. JariHam
    Member
    Posted 3 months ago #

    Hi, I want to change the background color on a SINGLE page of my website. Can anyone tell me how to do this? This is the page of my website I want to give another color or background.
    http://jongerenensocialmedia.nl/233-2/
    Thanks in advantage.

  2. PilgrimX
    Member
    Posted 3 months ago #

    Hi, I just solved something similar with main page. And solution was to add this to custom css:

    .home #main
    {
      background-image: url(".../wp-content/uploads/2014/04/image.jpg");
      background-position: center bottom;
      background-repeat: no-repeat;
    }

    So you should maybe try to find something like ".single #main" or ".blog #main". I use image, so your code should be more simple.

    .single #main
    {
      background-color: #your color code;
    }

    But maybe there will be some better solution.

  3. JariHam
    Member
    Posted 3 months ago #

    Hi, it worked. Thank you so much.:)

  4. PilgrimX
    Member
    Posted 3 months ago #

    Glad I can help. ;)

  5. Grantisnis27
    Member
    Posted 3 weeks ago #

    Hi Guys,

    Was wondering if one of you could help. I tried the recommended changes suggested by PilgrimX but could only get

    .home #main
    {
    background-color: #your color code;
    }

    to work. If I tried to edit another page such as .blog #main it would not change. I take it you were using the title of the page? For example .titleofpage #main . This doesn't seem to work for me. Any suggestions would be much appreciated.

  6. Grantisnis27
    Member
    Posted 3 weeks ago #

    I should mention that I am also using the vantage theme. I cant provide a link though as its on a local host just now.

Reply

You must log in to post.

About this Theme

About this Topic