Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] Overriding post padding on one page


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 24, 2012, 03:20 PM
jodybethw
 
25 posts · Jun 2011
[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;
to Style Posts & Pages > POST Container (when it is taken out, the home page is aligned properly.) To override this on the home page, I put
Code:
body.page-id-724 td#middle {padding: -10px !important;}
in the Add HTML/CSS Inserts section. It isn't working and I have been staring too long. Can anyone see what I can't? Thank you!

http://www.neshamahyoga.com/v2/
  #2  
Old Feb 24, 2012, 04:04 PM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
try this instead
HTML Code:
body.home td#middle {padding: -10px !important;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 27, 2012, 01:53 PM
jodybethw
 
25 posts · Jun 2011
Nope, it didn't help...any other ideas?
  #4  
Old Feb 27, 2012, 02:59 PM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 27, 2012 at 04:40 PM.
  #5  
Old Feb 27, 2012, 03:30 PM
jodybethw
 
25 posts · Jun 2011
Just tried
Code:
body.home td#middle {
padding: 0px !important;
}
and also

Code:
body.page-id-724 td#middle {
padding: 0px !important;
}
...neither work. So frustrated.

Last edited by jodybethw; Feb 27, 2012 at 03:32 PM.
  #6  
Old Feb 27, 2012, 04:41 PM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
did you add padding to the rest? looks like you have it set to zero.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 27, 2012 at 04:43 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
help - howto remove bottom padding of page/post ? chjan Atahualpa 3 Wordpress theme 6 Apr 6, 2011 07:29 AM
colour not visible theme overriding? Ddabrai Center area post/pages 4 Jan 29, 2010 11:29 AM
[SOLVED] Overriding font-style in RSS Widget 112358oo Sidebars & Widgets 4 Aug 9, 2009 02:48 AM
Can't get page/post padding to work in ver 3.3.3 w/WP2.8 zwolfinger Post-Kicker, -Byline & -Footer 1 Jun 18, 2009 04:16 PM


All times are GMT -6. The time now is 02:45 AM.


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