philwhitmore
Member
Posted 1 year 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 .
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.
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