Results 1 to 6 of 6
  1. #1
    Join Date
    May 2010
    Location
    UK
    Posts
    85
    Plugin Contributions
    0

    Default Spacing between lines on main page under Categories

    I would like to space out the items under Categories on main page as they seem very close together. Is there an easy way to do this? I dont want a whole line left between the items just a small gap.

    Categories
    WHAT'S NEW!
    A Miniature Christmas
    Deluxe Toy Dolls
    Jumeau-Style Toy Dolls
    Bridal Toy Dolls
    Shabby Chic Toy Dolls
    Ballerina & Fairy Toy Dolls
    Ready to Dress Toy Dolls
    Micro Doll Supplies
    Micro Wigging Supplies


    One more question.
    Can I add a small image to the left of all the items above? I have added a smiley (above) where I would like an image, but one on every line.
    http://towerhousedolls.co.uk/demo/
    Running 1.3.9h

    Thanks very much for any help.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Spacing between lines on main page under Categories

    You could play with a rule like

    #categories a {line-height: 1.5em;}

    This will also space out any category names that wrap to a second line, so if you have this situation it will not be a good solution for you.
    Categories Dressing will give you complete control over every aspect of the categories sidebox, including item spacing and icons (list-item markers).

  3. #3
    Join Date
    May 2010
    Location
    UK
    Posts
    85
    Plugin Contributions
    0

    Default Re: Spacing between lines on main page under Categories

    Quote Originally Posted by gjh42 View Post
    Categories Dressing will give you complete control over every aspect of the categories sidebox, including item spacing and icons (list-item markers).
    Thanks very much gjh42.
    Is this the page you are refering to? http://www.zen-cart.com/index.php?ma...roducts_id=609
    Will it be ok on a 1.3.9h site do you think?

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Spacing between lines on main page under Categories

    Yes, Cat Dressing works fine in v1.3.9. It will also work as is in v1.5.0.

  5. #5
    Join Date
    Feb 2005
    Location
    Captain Cook, Hawaii
    Posts
    179
    Plugin Contributions
    0

    Default Re: Spacing between lines on main page under Categories

    I know this is an old thread, but this solution may help someone.

    My Sister, who is NOT Zen-Cart knowledgeable spaced hers out and it seems to work. I am still looking for a problem but have not found one yet.

    What she did was create new categories and sort them between existing ones. There are no names on the empty categories and clicking in the sidebox on one in the sidebox does not do anything.

    We are using the template Blue Strip Reloaded.

    Her site is soapfolks dot com.
    Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Spacing between lines on main page under Categories

    That obviously works visually, as the spacer categories have null names so there is nothing to click on. Of course, it's all or nothing, and you can't control the exact spacing, which seems a bit much. You also have "junk" markup in there, which doesn't necessarily matter to visitors but may to Google.

    You could also accomplish the spacing and control it precisely with a couple of CSS rules:

    #categories a {display: block;}
    #categories a+br {display: none;}

    Add margin-top or margin-bottom or whatever you like to the block items to control spacing.
    You can get the same effect you have just with the
    #categories a {display: block;}
    rule, as that will leave the extra <br /> making a double space between real categories without adding dummies.

 

 

Similar Threads

  1. spacing between lines of text
    By hilary in forum General Questions
    Replies: 4
    Last Post: 26 Aug 2008, 12:47 PM
  2. lines in between categories?
    By MachaNeko in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 May 2008, 03:07 PM
  3. word spacing in categories on main page
    By Rising Sun Racing in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 19 Apr 2008, 01:53 AM
  4. Spacing between breadcrumb and image on Main Page?
    By [email protected] in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Mar 2007, 08:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR