Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Dec 2011
    Posts
    11
    Plugin Contributions
    0

    Default put "categories sidebox" categories into <ul> ? edit tpl_categories.php ?

    I used this thread http://www.zen-cart.com/showthread.p...oxes-to-header to copy my category sidebox to my header

    http://www.shopbabby.com

    now i am trying to display the menu horizontally with the sub categories displayed horizontally beneath. its kind of working except that it is displaying in a manner resembling steps instead of straight across.

    i added "display:inline;" to the all the css declarations below...one at a time trying to see if it would make the problem go away but no luck

    Code:
    /* categories box parent and child categories */
    
    A.category-top, A.category-top:visited {
    	color: black;
    	text-decoration: none;
    	
    border:4px solid green;
    float:left;
    }
    	A.category-top:hover {
    	color: white;
    	text-decoration: none;
            -moz-box-shadow: 0px 0px 30px yellow;
    -webkit-box-shadow:  0px opx 30px yellow;
    box-shadow:  0px 0px 30px yellow;
    	
    	}
    A.category-links, A.category-links:visited {
    	color: green;
    border:3px solid red;
    	text-decoration: none;
    	}
    	A.category-links:hover {
    
    	}
    	
    A.category-subs , A.category-products, A.category-subs:visited, A.category-products:visited {
    	color: red;
    	text-decoration: none;
    	border:2px solid purple;
    display:block;
    float: left;
      padding: 0;
      margin: 0;
    	}
    	A.category-subs:hover, A.category-products:hover {
    	}
    SPAN.category-subs-parent {
    	font-weight: bold;
    	}
    	SPAN.category-subs-parent:hover{
    	font-weight: bold;
    	}
    SPAN.category-subs-selected {
    	font-weight: regular;
    	color:black;
            -moz-box-shadow: 0px 0px 30px blue;
    -webkit-box-shadow:  0px 0px 30px blue;
    box-shadow:  0px 0px 30px blue;
    }
    SPAN.category-subs-selected:hover {
    	font-weight: regular;
    	
    	color:black;
            -moz-box-shadow: 0px 10px 20px red;
    -webkit-box-shadow:  0px 10px 20px red;
    box-shadow:  0px 10px 20px red;
    }
    
    /* end categories box links */
    can i edit tpl_categories so that all the categories and subcategories are in a list? so that i can target the <li> with css display:inline;

    i feel like its more likely that i just dont know how to edit the existing css quoted above

    is this display:inline; business on the right track?

  2. #2
    Join Date
    Dec 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: put "categories sidebox" categories into <ul> ? edit tpl_categories.php ?

    nevermind ..that wasnt so hard

 

 

Similar Threads

  1. Replies: 2
    Last Post: 4 Jun 2011, 01:40 PM
  2. How would I edit the "Information" and "Categories" blocks?
    By Soldierxx in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 19 May 2011, 05:59 PM
  3. How to integrate the "quality discount" into the "categories/products"?
    By ching2010 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 1 May 2010, 06:38 PM
  4. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM
  5. Edit "categories" sidebox
    By hemdawg in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 May 2006, 09:49 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