Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Changing line spacing for UL and OL in posts, pages, et al ... How? (http://forum.bytesforall.com/showthread.php?t=14778)

Alexi Jun 26, 2011 08:35 PM

Changing line spacing for UL and OL in posts, pages, et al ... How?
 
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

lmilesw Jun 26, 2011 09:35 PM

How about something like the following in ATO>Add HTML/CSS Inserts>CSS Inserts
HTML Code:

ul li, ol li {
    margin-bottom: 5px !important;
}


andermarketing Oct 25, 2012 05:01 PM

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!

lmilesw Oct 25, 2012 05:21 PM

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

andermarketing Nov 8, 2012 10:38 AM

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.

lmilesw Nov 8, 2012 11:17 AM

It's tough to give exact CSS without seeing the site. Glad you found a solution though.


All times are GMT -6. The time now is 09:31 AM.

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