Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] Is It Possible To Style Widgets For Left and Right Sidebars Separately? (http://forum.bytesforall.com/showthread.php?t=9166)

scombridae1969 Aug 25, 2010 04:21 AM

[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

lmilesw Aug 25, 2010 05:04 AM

You would just use td#right as the first part of your selector for the widget

scombridae1969 Aug 25, 2010 01:05 PM

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

lmilesw Aug 25, 2010 03:38 PM

If it works in all the browser you care about than you have success.

scombridae1969 Aug 25, 2010 05:57 PM

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 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.