Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] How to add space between list items in post body?


  #1  
Old May 2, 2009, 08:13 AM
Alexi
 
20 posts · Dec 2008
Oceanside, CA
Hi Flynn,

Stumped. I wish to add a bit of space between list items in the post body. The list items have no separation and need .5 em or .25em between each for readability. (see http://www.beautyprpro.com)

What would I add to 'style.css' or an Atahualpa 332 CP to accomplish that?

I suspect it is "div.post-bodycopy" or "div.post-bodycopy p" but not sure what CSS to add. I tried adding margin-bottom to no success.

Thanks for any help.

Alexander Irving (alexi)

See my own reply next

Last edited by Alexi; May 2, 2009 at 08:40 AM.
  #2  
Old May 2, 2009, 08:37 AM
Alexi
 
20 posts · Dec 2008
Oceanside, CA
Flynn,

Never mind. I figured it out. Here is the solution I found. I leave it here as my own reply in case others are searching for the same answer.

In style.css I added the lines below in red.

div.post-bodycopy p {
margin: 1em 0;
padding: 0;
display: block;
/* The rule below would create hor. scrollbars in Firefox,
which would be better than overflowing long strings, but the
downside is that text won't float around images anymore.
Uncomment this if you don't float images anyway */
/* overflow: auto; */
}

/* Alex Added 5/2/09 */
div.post-bodycopy li {
padding-bottom: 1em;
}
/* Alex Added 5/2/09 - End */

Last edited by Alexi; May 2, 2009 at 08:39 AM.
  #3  
Old Jun 25, 2009, 07:02 PM
fromtheranks
 
149 posts · Apr 2009
Dev Env't: XP Pro SP3, IIS 5.1, MySQL 5.1, PHP 5.2.x, WP 2.7.1, Atahualpa 3.3.3, IE 7, FF 3.0.x
Alexi,

Here's a thread link to some additional options for adding space between list items in the body: http://forum.bytesforall.com/showthr...=9172#post9172.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Space between Widget List Items configurable? upscho Sidebars & Widgets 10 Jul 3, 2012 06:15 PM
How to change the spacing of list items Webmason Atahualpa 3 Wordpress theme 5 Aug 4, 2009 03:33 PM
[SOLVED] Page Menu Bar - Strange Space Occurring Between Menu Items NealSchaffer Page & Category Menu Bars 2 Jun 20, 2009 11:18 AM
Adding Space Between Items in Lists in a Post DMO Atahualpa 3 Wordpress theme 1 Mar 2, 2009 11:05 AM
Post / Page Info Items - Button crashes comp, how do I add to post-footer? Image help everygirlssecret Post-Kicker, -Byline & -Footer 1 Jan 5, 2009 02:12 PM


All times are GMT -6. The time now is 05:51 AM.


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