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 » Center area post/pages »

Changing line spacing for UL and OL in posts, pages, et al ... How?


  #1  
Old Jun 26, 2011, 08:35 PM
Alexi
 
20 posts · Dec 2008
Oceanside, CA
Been using Atahualpa for years, Happy camper :-) Grateful user. Current = Atahualpa 3.6.7 and WP 3.1.3.

Question: I want to change (expand) line spacing on text that formatted as UL or OL. Where would I do that?

Our blog is http://www.beautyprpro.com.

Thanks for any guidance.

Alex Irving
  #2  
Old Jun 26, 2011, 09:35 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
How about something like the following in ATO>Add HTML/CSS Inserts>CSS Inserts
HTML Code:
ul li, ol li {
    margin-bottom: 5px !important;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Oct 25, 2012, 05:01 PM
andermarketing
 
7 posts · May 2012
Los Angeles, CA
I tried this myself however it also adds extra line spacing to the menu items in the page menu drop down, and everywhere else there's an ul ol. Is there a way to only affect the ul ol margin inside the post (or page content)?

Thanks in advance!
  #4  
Old Oct 25, 2012, 05:21 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
just add .page and/or .post as the beginning CSS selector such as
HTML Code:
.page ul li, .page ol li, .post ul li, .post ol li
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Oct 25, 2012 at 05:24 PM.
  #5  
Old Nov 8, 2012, 10:38 AM
andermarketing
 
7 posts · May 2012
Los Angeles, CA
For some reason, that didn't work. The menu still showed the same margin for ul li. So I added another line for .rMenu and used the !important indicator. That seemed to work fine.

Thanks again.
  #6  
Old Nov 8, 2012, 11:17 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
It's tough to give exact CSS without seeing the site. Glad you found a solution though.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Tags
css, line spacing, ordered list, unordered list

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting grey line ABOVE 'older posts' button, ATO>Style Posts & Pages doesn't work levenssfeer Post-Kicker, -Byline & -Footer 2 Apr 28, 2011 04:55 PM
Line spacing / Line breaks disappearing - Help! tastecheese Center area post/pages 0 Mar 22, 2011 05:45 AM
[SOLVED] changing default font size, spacing and color of links in posts and comments singldedudetravel Center area post/pages 2 Jan 12, 2011 10:16 AM
Vertical line spacing between link items in a sidebar pages widget kippiper Sidebars & Widgets 0 Jan 6, 2010 06:47 PM


All times are GMT -6. The time now is 11:29 AM.


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