[SOLVED] Adding a blank line to separate the categories listing on the sidebar
Hello
I would like to add a space between each category as they are listed in the sidebar widget. Anyone know how to do this either by editing the PHP directly or in a configuration somewhere. PS I wanted to do this in a Twitter Widget and was able to do it by editing the PHP page that is used to send the info to a browser and adding a line break in the code. Thanks |
the category widget is part of the wordpress code - I believe it is part of default-widget.php which is in the includes folder
|
Thanks I think you are correct with that however I was unable to find the actual section that I need to edit :( Any Ideas?
|
did you search thru the code for the word 'caterories'?
|
Yes I did... category.php and category-template.php
There are many references but I can't seem to find the section that sends the list to the browser... :( |
Use this in the CSS Inserts in theme options:
.cat-item { line-height: 200%; } This is how it looks on my test site: http://www.skilovers.com/wp/ |
That's very close however I have categories that are more than one line in that they wrap around and the CSS insert increases the spacing of all the lines not just the spacing of each item. :)
|
I added a border around the item .cat-item {border: solid 1px #000000;} and that worked like a charm!!
Thanks for the point in the right direction!! |
All times are GMT -6. The time now is 09:31 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.