WordPress.org

Ready to get started?Download WordPress

Forums

Twentyeleven theme - changing colour (3 posts)

  1. philwhitmore
    Member
    Posted 2 years ago #

    Hi im sorry if this has been covered before .
    Im using the twentyeleven theme. Ive changed the background and am using the dark version.

    How can i change the black background (on the dark theme ) so something else ?

    Im looking to use a semi transparent grey so that the underlying background is visible though .

    Apologies if this post does'nt make sense .

  2. Good Guy
    Member
    Posted 2 years ago #

    The standard method to to change the background is like this:

    body {
    	background-color: transparent;
    }

    Now without knowing which colors you are interested in, it is difficult to help you any further.

    Hope this gives you a start.

  3. Digital Raindrops
    Member
    Posted 2 years ago #

    the current setting for the dark background option is in the /colors/dark.css file:

    body {
    	background: #1d1d1d;
    	color: #bbb;
    }

    However it is not the body background you need to change but the #page

    #page {
    	background: #0f0f0f;
    }

    you would over-ride this in a child themes style.css, adding your color and transparency, read the note in the link on the dark option and using !important, or your changes may not happen.

    HTH

    David

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.