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

How to Add Padding or Margins on Single Post Pages Only


  #1  
Old Apr 23, 2011, 11:49 AM
New WordPress Fan
 
141 posts · Jul 2010
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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 05:50 PM.


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