WordPress.org

Ready to get started?Download WordPress

Forums

Changing the background color in Version 3.1 (4 posts)

  1. riggie11
    Member
    Posted 8 years ago #

    In the new version 3.1, I tried changing the background color to black with "background-color: black;".

    Does not work though.

    Any idea where to change the background color?

    Thanks,
    Riggie

  2. What was wrong with your original thread?

    http://wordpress.org/support/topic/51959

  3. riggie11
    Member
    Posted 8 years ago #

    No idea... I was a bit confused about where this post would appear. Main thing it can be seen now :-)

  4. riggie11
    Member
    Posted 8 years ago #

    Denis gave me the solution to be able to
    change the background color in V3.1

    Add this code to your custom.css:
    body.custom
    {
    background-color: black;
    }

    Change this tag in header.php:

    <body class="<?php the_page_skin(); ?>">

    change to:

    <body class="<?php the_page_skin(); ?> custom">

    The background should be changed now.

    -Riggie

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.