How to add bullets to the widgets in Freshy theme
-
Hi,
I am using the Freshy theme. I just purchased the CSS upgrade and started exploring a bit with the color.
I want my widgets like Latest Posts, Categories to be displayed as a bulleted list. In the code I found something like:ul ul li,
ol ol li {
background:transparent url(images/bullet.gif) 0px .5em no-repeat;
padding-left:8px;
}Though I am not sure, I am looking at the right code. Please help me add bullets in the widgets.
Thanks..
JeanThe blog I need help with is: (visible only to logged in users)
-
Right now they have a right-facing arrow (the gif image). What did you want as the “bullet?”
-
The above by the way would effect all lists, not only unordered, but ordered as well, and even in the posts.
If you want to have it effect only unordered lists in the sidebar, you would want this:
#sidebar ul, #sidebar ul li {
list-style-image:url(http://s3.wordpress.com/wp-content/themes/pub/freshy/images/bullet.gif);
list-style-position:outside;
list-style-type:none;
margin-left:10px;
padding-left:0;
} -
And now the code again (forgot the backticks)
#sidebar ul, #sidebar ul li { list-style-image:url(http://s3.wordpress.com/wp-content/themes/pub/freshy/images/bullet.gif); list-style-position:outside; list-style-type:none; margin-left:10px; padding-left:0; } -
Thanks a lot, that works absolutely fine in IE7, but the bullets do not appear in FF. Though I do not have a thorough knowledge about CSS, I have heard that paddings and margins work differently in both these browsers. Could you help me with a hack that runs on FF and other browsers.
Also can I change the image for the bullet?
Thanks,
Jean
- The topic ‘How to add bullets to the widgets in Freshy theme’ is closed to new replies.