[SOLVED] Overriding post padding on one page
I'd like to use 10px padding on all post containers except for the one on the front page in which there is a slider. I added
Code:
padding: 10px; Code:
body.page-id-724 td#middle {padding: -10px !important;} http://www.neshamahyoga.com/v2/ |
try this instead
HTML Code:
body.home td#middle {padding: -10px !important;} |
Nope, it didn't help...any other ideas?
|
just did a bit of google searching - padding can not be a negative number, so add the padding to all other pages as 10 and the home page as 0.
|
Just tried
Code:
body.home td#middle { Code:
body.page-id-724 td#middle { |
did you add padding to the rest? looks like you have it set to zero.
|
Yes, i did. I keep changing it because I'm working on other things -- sorry! I'll put it back in "error" mode so you can take a better look. I've also just colored the post container blue so you can see it on the page.
|
try this
HTML Code:
body.page-id-724 div.post { |
Brilliant! That worked, thank you! I have much more to learn, and now I know what to study!!! You're the best!
|
All times are GMT -6. The time now is 05:36 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.