Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11

    Default Re: Proper Category Spacing

    first you need to open up your style sheet in includes/templates/YOUR_TEMPLATE/css and find:

    A.category-top

    then make it look like this:

    Code:
     			 				A.category-top, A.category-top:visited {
            display: block;
            margin-top:3px;
    	color: #008000;
    	text-decoration: none;
    	}
    to complete the operation, you would need to follow the instructions Glen gave earlier in the thread.

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

    Default Re: Proper Category Spacing

    ...nevermind... :)

    Actually, there is an addition to be made to Rain's post: making a.category-top block display will not help the links or subcats. That is why I said above to add

    #categories a {display: block;}

    as this covers all cases at once.
    Last edited by gjh42; 13 Jan 2008 at 12:33 AM.

  3. #13
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: Proper Category Spacing

    Hi, I followed all these instructions, added the
    #categories a {display: block;} to the bottom of my stylesheet and removed the breaks from tpl_categories.php as described, but it's made no difference. I don't suppose this is because im using a categories listing box so that all my sub cats are permanently displayed?

    Can someone explain how i can achieve the seperation between each category, whilst keeping the sub cats together as this person initally asked for.

    Thanks.

  4. #14
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: Proper Category Spacing

    p.s my site is http://www.thegreatgiftshop.co.uk/zencart

    and I too would like my categories to appear like this;

    Bags,Purses &
    Accessories


    Fitness &
    Wellbing


    Golf

    Home Accessories
    clocks digital &
    handy gadgets (sub cat)
    crystal & glass (sub cat)
    etc etc
    etc

  5. #15
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: Proper Category Spacing

    I found this in another thread and added;

    .category-top {
    display:block;
    /*uncomment to help with visual display
    border-width:1px;
    border-style:dashed;
    */
    padding-top:0px;
    padding-bottom:0px;
    margin-top:0.1px;
    margin-bottom:0px;
    }

    to the bottom of my stylesheet and thats done the trick

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Category pages dont seem to be pointed to the proper domains
    By wagnerguy in forum General Questions
    Replies: 3
    Last Post: 28 Oct 2014, 02:34 AM
  2. Category Listings Spacing
    By homeofgoodies in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Aug 2010, 09:12 PM
  3. Category product spacing
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 8 May 2008, 05:44 AM
  4. Spacing between Category Name & Category Description
    By raunharman in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Dec 2007, 11:31 PM
  5. Category List Spacing
    By copels in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Sep 2007, 05:40 PM

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