Would like to add box around widgets in TwentyTen
-
Hello, I’m working on editing the CSS for my blog, wellbeauty.wordpress.com and I would like to do something with the widgets on the right. I really like how Albeo has a little box around the widgets, is it possible I can do that in TwentyTen?
The blog I need help with is: (visible only to logged in users)
-
Not knowing exactly what you want for a “box”, give this a try as just a starter. I’ve just used a red color as a sample.
.widget-container { background: none repeat scroll 0 0 #CC0000; padding: 10px; } -
Thank you! This is exactly what I was looking for. Is it possible to do curved edges with the boxes?
-
-
Yes, thats what I’m looking for but I need the css code to make those rounded edges for the boxes.
-
Do be aware that anyone on IE8 or older won’t see the rounded CSS corners, and some other older browsers won’t render them rounded either. To make sure and have the broadest coverage, there are three border radius declarations.
.widget-container { background: #CC0000; padding: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } -
-
-
- The topic ‘Would like to add box around widgets in TwentyTen’ is closed to new replies.