Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] Spacing between bullet and list items is not consistent. (http://forum.bytesforall.com/showthread.php?t=4972)

lucy Dec 22, 2009 08:05 AM

[SOLVED] Spacing between bullet and list items is not consistent.
 
I have a feeling I need to update something more than 1 place and I have missed one?

I have succeeded in getting images to show up as bullets, but the pacing between the bullet and the first letter of text is not consistent. The bullets are 14X12 with a transparent background.

Categories and Pages has nice spacing, but Archives and Links is a little too crowded. All are on the left sidebar.

I pasted this code under ATO>CSS Inserts. It's the only thing I have added to the CSS Inserts. The WP and ATA versions are brand new installations as of this weekend.


Code:

div.widget ul li,
div.widget ul li:hover,
div.widget ul li.sfhover {
border-left: 0 !important;
padding-left: 15px !important;
background: url(/content/wordpress-content/themes/atahualpa/images/icons/ombrebullet.gif) no-repeat 0 3px;
}

Thanks so much!

lucy Dec 28, 2009 07:46 AM

Oh duh. I finally figured out that under ATO>Style Widgets you need to change "Left Padding for Links" to 0. Otherwise, whatever spacing you put in the CSS, it just keeps adding to that number so your link spacing will never be consistent.

Then in the CSS I changed the padding to 20 px so it's easier to read. Yay!!

Code:

div.widget ul li,
div.widget ul li:hover,
div.widget ul li.sfhover {
border-left: 0 !important;
padding-left: 20px !important;
background: url(/wp-content/themes/atahualpa/images/icons/ombrebullet.gif) no-repeat 0 3px;
}



All times are GMT -6. The time now is 02:23 AM.

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