|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Changing the background color of boxes
On my homepage the bio and gallery boxes are light grey (#cccccc). Nothing I've tried to change that color to white seems to work. I've been on the forums for the past hour searching for an answer and can't find anything that works. I've tried putting the following code into my Customizing CSS, but it doesn't change a darn thing. I also tried putting that code into the CSS of my Theme. Nothing.
Code:
.box {background: #ffffff; border: medium double #f5f5f5;}
Plus every time I go to the Control Panel I'm force to log-in again, which has become quite annoying now! |
|
|
|
|
#2
|
|
|
Major grins
|
Your CSS was missing commas between the elements you were trying to change, and since you are overriding a theme you need !important.
Try this: Code:
.box,
.boxTop,
.boxBottom {
background: #ffffff !important;
border: medium double #f5f5f5;
}
--- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ |
|
|
|
|
#3
|
|
|
Big grins
|
Thanks Denise. It was the !important that made the difference.
|
|
|
|
|
#4
|
|
|
Major grins
|
Is there a way to make them transparent rather then with solid colour? I want my background image to not be blocked by the boxes.
__________________
R. Leonardo www.RobArtPhoto.com Whether he is an artist or not, the photographer is a joyous sensualist, for the simple reason that the eye traffics in feelings, not in thoughts. -Walker Evans |
|
|
|
|
#5
|
|
|
Major grins
|
Ahk, never mind! I got it with
.boxBottom, .boxTop, .box {background:none !important; }
__________________
R. Leonardo www.RobArtPhoto.com Whether he is an artist or not, the photographer is a joyous sensualist, for the simple reason that the eye traffics in feelings, not in thoughts. -Walker Evans |
|
|
|
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|