Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Left side navigation buttons or background

    Hello,
    I am using barebones template.

    My original website has navigation on the left side with each item has a background - something like a button. Because navigation is a list I can make background color on the "li a" element and display as block.I also pad to move items away from each other.

    I try to make my zencart site the same but the left navigation is not a list.It is only a div with "a" elements inside. The "a" also has class of category-top which I cannot find in CSS.

    My questions are this:
    1. if class category-top is not define anywhere else I can use it, yes?
    2.If I cannot use it, I will create new class but where do I put the link for it to be pick up every time a new category is added to the side navigation.
    3. can I make categories into buttons?

    Thank you for your help.
    Ivanna

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Left side navigation buttons or background

    You can add category-top (or any other class or id) to the stylesheet.

    This will change the category listing to an unordered list, if that's easier:

    http://www.zen-cart.com/index.php?ma...oducts_id=1307

  3. #3
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: Left side navigation buttons or background

    That worked. Now zen cart already begins to look like my site but I still have a very long way to go.

    thank you
    Ivanna

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

    Default Re: Left side navigation buttons or background

    Note that that mod puts all categories, top and subs, into one list with no sublists for subcategories, so you cannot treat the whole <li> differently for top and subs. Categories Dressing, and the CSS Flyout Menu, build correctly nested lists that can be styled more accurately.

    For question 3, Categories Dressing has the ability to substitute images for category names, and can also use background images that change on hover.
    Last edited by gjh42; 29 Jun 2011 at 10:23 PM.

 

 

Similar Threads

  1. changing left navigation to background table rollovers
    By keylesslocks in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Feb 2008, 02:48 AM
  2. Removing navigation from left side
    By BryanKollar in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Jan 2007, 10:00 PM
  3. Navigation bar... Left Side or Top Side?
    By dhermanus in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Oct 2006, 07:23 PM
  4. Help with my left Side navigation in i.e.
    By terryrocks in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Sep 2006, 11:08 AM

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