Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Overriding post padding on one page


  #1  
Old Feb 24, 2012, 03:20 PM
jodybethw
 
25 posts · Jun 2011
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
  #7  
Old Feb 27, 2012, 04:57 PM
jodybethw
 
25 posts · Jun 2011
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.
  #8  
Old Feb 27, 2012, 05:03 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this
HTML Code:
body.page-id-724 div.post {
padding:0px !important
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Feb 27, 2012, 05:11 PM
jodybethw
 
25 posts · Jun 2011
Brilliant! That worked, thank you! I have much more to learn, and now I know what to study!!! You're the best!

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 09:29 AM.


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