Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] padding-top doesn't seem to be working (http://forum.bytesforall.com/showthread.php?t=12545)

tatvaanveShaNam Jan 30, 2011 08:08 PM

[SOLVED] padding-top doesn't seem to be working
 
I have set padding-top: 20px; in Body Style under Body, Text and Links. I also have padding: 20px; in Layout Container Style under Style and Configure LAYOUT. However the top padding doesn't seem to be working. The padding-bottom is working as expected. My site is: www.tatvaanveshanam.org. Using Atahualpa 3.5.3, and Wordpress 3.0.4

Thanks.

lmilesw Jan 30, 2011 09:32 PM

What are you trying to accomplish (EG where do you want padding or space)?

tatvaanveShaNam Jan 30, 2011 09:46 PM

I want it right at the top of the page.

lmilesw Jan 30, 2011 09:56 PM

I'm not sure why some of your CSS is not working but the following should work. Put it in ATO>Add HTML/CSS Inserts>CSS Inserts

HTML Code:

#wrapper {
padding-top: 20px;
}


tatvaanveShaNam Jan 30, 2011 10:19 PM

Thanks for the tip. Still doesn't work. If it helps, it was working until I changed the background to be an image instead of a color. Now even reverting to the color as background (instead of image) doesn't seem to get the padding-top: 20px; to work.

tatvaanveShaNam Jan 31, 2011 12:05 AM

Thanks. 'margin-top' did the job. Interestingly, I don't have a margin-bottom set so I wonder what's working for the bottom that didn't work for the top originally.

tatvaanveShaNam Jan 31, 2011 01:11 AM

Turns out that for the 'padding-top' to work as expected, background: url needs to go as the last definition under Body Style

Marking thread as resolved. Thanks to all.


All times are GMT -6. The time now is 12:49 PM.

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