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 »

[SOLVED] Padding for individual post


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 Apr 3, 2009, 05:58 AM
aliasfreq
 
5 posts · Apr 2009
Sydney
[SOLVED] Padding for individual post

Apologies if this isn't a specific Atahualpa question, however I am running Atahualpa, this seems like a helpful forum, and this issue is driving me nuts right now...

Is it possible to add padding to a specific post/page? I'm using the 'Custom Post Background' plugin to add background images to some pages, and for those pages the text doesn't look good because it goes to the edge of the body. (Other posts/pages with no or plain background look fine.) Is it possible to add padding for just those pages?

I have the TinyMCE Advanced plugin activated if that's of any use. Oh, and here's an example of what I'm talking about: http://johnwatermann.net/interviews/

Thanks to anyone who can help with this!
  #2  
Old Apr 3, 2009, 10:02 AM
bcorrigan
 
85 posts · Feb 2009
put some div tags in your posts and custom css in the HTML/CSS section of A -> Theme settings.
  #3  
Old Apr 3, 2009, 07:46 PM
aliasfreq
 
5 posts · Apr 2009
Sydney
Thanks for your help!
  #4  
Old Mar 28, 2012, 05:42 AM
pakelly
 
10 posts · Mar 2012
Quote:
Originally Posted by bcorrigan
put some div tags in your posts and custom css in the HTML/CSS section of A -> Theme settings.
Hi, sorry for being an ignoramus. I have the same issue but could you be more specific? What might the div tag look like and likewise the css?

Many thanks!
Paul
  #5  
Old Mar 28, 2012, 06:13 AM
juggledad's Avatar
juggledad
 
22,245 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
if you want to override the general post paddings you need to code a CSS selector and CSS rules to apply the padding you want. This you will put in the 'CSS Inserts' option of the theme.

You will have to find the unique ID/class assigned to the particular post to build your CSS Selector. The easiest way is to use teh FireBug extension in FireFox. You can also look at the source view of a page showing the post.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Mar 28, 2012, 07:27 AM
pakelly
 
10 posts · Mar 2012
Hi,

Thanks for that. Yes, I have the page code. I just don't know what format the div tag would take in order to do that.

I mean I'm assuming it's something like this for the padding:

div.post-bodycopy {
padding:nnpx !important;
}

Is that right?

But what do I add to make it apply to only the page in question?

Many thanks!
Paul
  #7  
Old Mar 28, 2012, 01:03 PM
juggledad's Avatar
juggledad
 
22,245 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
body.page-id-xx div.post-bodycopy etc
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change background colors for each individual page wing23 Atahualpa 3 Wordpress theme 7 Aug 15, 2009 04:08 PM
css insert not showing individual posts bushtool New Versions, & Updating 9 Jul 15, 2009 06:54 PM
[SOLVED] How do I put the post title back in the individual posts back? Paleo Pat Atahualpa 3 Wordpress theme 7 Jul 9, 2009 03:05 PM
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
Change background color of individual widgets Photokitchen Sidebars & Widgets 4 May 9, 2009 05:55 AM


All times are GMT -6. The time now is 06:25 AM.


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