Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Forum How-To (http://forum.bytesforall.com/forumdisplay.php?f=9)
-   -   How to Add Padding or Margins on Single Post Pages Only (http://forum.bytesforall.com/showthread.php?t=13886)

New WordPress Fan Apr 23, 2011 11:49 AM

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!

juggledad Apr 23, 2011 04:03 PM

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.


All times are GMT -6. The time now is 07:44 AM.

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