Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    12
    Plugin Contributions
    0

    Default Change spacing between cat items in side box.

    Hello everyone! This is my first post, w00t.

    Anywayz, I have been editing my zen cart template and I have been able to find everything so far thanks to these wonderful forums. I have ran into my first hangup.

    I would like to change the spacing between my text in my left sidebox. The reason I would like to do this is because I am using a background image for the sidebox. The image has built in separators. If you check out my cart so far it will give you a better idea of whats going on. Thanks in advance for any help!

    http://www.planetattax.com/products

  2. #2
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    Plugin Contributions
    0

    Default Re: Change spacing between cat items in side box.

    look in /includes/templates/CUSTOM/stylesheet.css for this:

    #navCatTabs ul {
    margin: 0;
    padding: 0em 0em;
    font-size: 12px;
    list-style-type: none;
    text-align: center;
    line-height: 1.5em;

    If it is not there then add it somewhere. change line 3's (padding) values to something like 8px or 1em or whatever makes it go where you need it... I think it will work...
    Grasshopper, GOT BOOK? - I don't, and I am constantly in here begging for help and Donating to Zen Cart in feeble attempts to bribe the developers for help. Get your copy today and avoid my fate!

  3. #3
    Join Date
    Jul 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Change spacing between cat items in side box.

    That is amazing advice. Thanks for pointing me in the right direction so quickly. I found 6 instances of #navCatTabs in my stylesheet. But everyone is not as you show, it contains other items, for example,

    #navMain ul, #navSupp ul, #navCatTabs ul {

    I am a little confused as to which one to edit. Would the example you gave me override the others if I put it in a certain spot? Thanks again for your help
    A work in progress to create a unique and cool template, and maybe be able to help some others in the process :)

    http://www.planetattax.com/products

  4. #4
    Join Date
    Jul 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Change spacing between cat items in side box.

    Well, I think I've tried it all, I edited the padding values in all of the defintions I found one by one with no luck. I even tried to just add the code snipet you gave me. No luck.

    I am going to try adding some padding-bottom values.. please let me know if anyone thinks of anything else
    A work in progress to create a unique and cool template, and maybe be able to help some others in the process :)

    http://www.planetattax.com/products

  5. #5
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    Plugin Contributions
    0

    Default Re: Change spacing between cat items in side box.

    find:#navMain ul li, #navSupp ul li, #navCatTabs ul li { display: inline; }and try padding that instead. delete or comment out the previous changes you made. If that does not do it, then it is beyond me, i am still new to css...
    Grasshopper, GOT BOOK? - I don't, and I am constantly in here begging for help and Donating to Zen Cart in feeble attempts to bribe the developers for help. Get your copy today and avoid my fate!

  6. #6
    Join Date
    Jul 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Change spacing between cat items in side box.

    No problem, even though you are new, your logic seems pretty reasonable that it should work, i'll try it again and post back! Thanks again.
    A work in progress to create a unique and cool template, and maybe be able to help some others in the process :)

    http://www.planetattax.com/products

 

 

Similar Threads

  1. v151 Reduce spacing between items in category
    By ExtensiveEnterprises in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Mar 2014, 09:38 PM
  2. Spacing between category word in side box
    By ccembd in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Aug 2008, 01:57 AM
  3. Replies: 9
    Last Post: 14 May 2007, 08:43 AM
  4. Uneven spacing between items... been up all night. (link to my website)
    By Feral Ward in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Aug 2006, 06:46 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