Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] Adding a blank line to separate the categories listing on the sidebar


  #1  
Old Mar 26, 2010, 12:08 PM
beach40
 
6 posts · Mar 2010
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
  #2  
Old Mar 26, 2010, 09:20 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the category widget is part of the wordpress code - I believe it is part of default-widget.php which is in the includes folder
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 27, 2010 at 08:34 AM.
  #3  
Old Mar 27, 2010, 08:28 AM
beach40
 
6 posts · Mar 2010
Thanks I think you are correct with that however I was unable to find the actual section that I need to edit Any Ideas?
  #4  
Old Mar 27, 2010, 08:36 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you search thru the code for the word 'caterories'?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Mar 27, 2010, 08:52 AM
beach40
 
6 posts · Mar 2010
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...
  #6  
Old Mar 27, 2010, 09:37 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
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/
  #7  
Old Mar 27, 2010, 09:49 AM
beach40
 
6 posts · Mar 2010
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.
  #8  
Old Mar 27, 2010, 10:01 AM
beach40
 
6 posts · Mar 2010
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!!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Adding line breaks to footer ctenos Post-Kicker, -Byline & -Footer 0 Aug 4, 2009 06:53 AM
How to separate line items in widget content with a line? mgofootball Sidebars & Widgets 5 Jul 19, 2009 09:36 PM
Listing Authors in Sidebar jdittert Sidebars & Widgets 4 Jun 26, 2009 01:24 AM
How do I get rid of a dotted line and blank space above? nasu Atahualpa 3 Wordpress theme 1 May 29, 2009 02:00 PM
Blank pages from sidebar links - template issue? bjt1t2t3 Atahualpa 3 Wordpress theme 0 Mar 16, 2009 02:55 PM


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


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