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)
-   -   Adding a top margin to LH sidebar with CSS - If not td#left - then what? (http://forum.bytesforall.com/showthread.php?t=17549)

arthurmild May 14, 2012 05:48 AM

Adding a top margin to LH sidebar with CSS - If not td#left - then what?
 
I want to shift the left sidebar down by about 20px on this site

Have tried adding
Code:

margin:20px 0 0 0 ;
to td#left (both in ATO SIDEBARS and in HTML/CSS inserts) - neither option works.

Firebug shows td#left to be the element to style - I came to CSS after the days of tables so am prob missing something simple ...?


http://thinkingspaceweb.com/aaa_home...ss_problem.png

juggledad May 14, 2012 06:26 AM

Why not shift he center down?

arthurmild May 14, 2012 06:33 AM

Great minds think alike !

But what if I NEEDED to move the LH sidebar (or introduce some space between its top border and the header)

I can't see why adding margin-top space to td#left has no effect

juggledad May 14, 2012 08:13 AM

you can move it, just not with margin - the sidebar - td#left is part of a table, so you would have to move teh entire row with the margin.

You can change the postioning and move it that way.

lmilesw May 14, 2012 08:17 AM

The reason you can't do what you want is because the area you want to target is a table cell. Besides if you add space there it will probably not look right on other pages. I think perhaps taking out the top padding in ATO>Style Posts & Pages>Post Container and removing the top border may be what you are looking for.


All times are GMT -6. The time now is 03:36 AM.

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