[SOLVED] Is It Possible To Style Widgets For Left and Right Sidebars Separately?
Hello Everyone...
A site I am working on has two sidebars. One to the left and one to the right of the center column (not using inner sidebars at all - set to 0 width). Is it possible, for example, to have the border that is currently around my widget container boxes to not be applied for widgets only in the right sidebar? ATA 3.3.5 WP 3.0.1 Mike |
You would just use td#right as the first part of your selector for the widget
|
I am pretty unfamiliar on the code end :o but your tip and some digging around and I think I found the right syntax (as it seems to work). Thanks! :)
Does this look proper enough? I wanted to set borders for widgets that are only in the LEFT sidebar with rounded corners... td#left>div.widget { border:1px solid #9BE729; display:block; line-height:1.2; margin-bottom:30px; padding:10px; width:auto; -moz-border-radius:4px; -khtml-border-radius: 4px; -webkit-border-radius:4px; border-radius: 4px; } Thanks again! Mike |
If it works in all the browser you care about than you have success.
|
The sidebar stuff seems to work in the browsers I care about (not expecting rounded corners to work across the board). I think I mucked up the RSS Subscribe box but I will figure that out. :)
Thanks again! SOLVED. Mike |
All times are GMT -6. The time now is 12:31 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.