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 » Forum Usage » Forum How-To »

How to Add Padding or Margins on Single Post Pages Only


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 23, 2011, 11:49 AM
New WordPress Fan
 
92 posts · Jul 2010
How to Add Padding or Margins on Single Post Pages Only

Using Atahualpa 3.5.1, WordPress 3.0.4.

How to you add left and right padding or margins on all single post pages only?

Many thanks!
  #2  
Old Apr 23, 2011, 04:03 PM
juggledad's Avatar
juggledad
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
You will have to code some CSS and add it to the CSS Inserts. If you look at a 'single post page, at the <body> statement, you will find something like
HTML Code:
body class="single single-post postid-25 single-format-standard">
so you can use
HTML Code:
body.single #left {...}
as your CSS selector. Then you can code the rules you need.

Bookmarks

Tags
margins, padding, single post pages

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] menu position in IE: ignores container padding/margins epsymp Page & Category Menu Bars 11 Mar 5, 2011 02:49 PM
How to: add a widget area to a single post paolo Center area post/pages 0 Dec 23, 2010 04:44 AM
[SOLVED] Want to add ShareThis button only to single post pages LynnFang Post-Kicker, -Byline & -Footer 4 Dec 14, 2010 11:46 AM
How to add PHP to the loop on multi- and single post pages only? Fux Center area post/pages 2 Jun 16, 2010 04:55 AM
How do I choose between Single Post Pages and Multi Post Pages? BradyKelly Atahualpa 3 Wordpress theme 2 Jan 3, 2010 05:17 AM


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


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