Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Jun 2005
    Posts
    37
    Plugin Contributions
    0

    Default Customizing the look of categories

    Hello,

    I'm a newbie with Zen Cart, but I know CSS well... and I have a few notions of PHP, but probably not enough to solve this case !

    I would like my categories to be displayed with this simple structure :

    Code:
    <div id="navig_left">
    <h2>Categories</h2
    <ul >
      <li><a href="#">Cat 1</a></li>
      <li><a href="#">Cat 2</a></li>
    </ul>
    </div>
    So I tried to customize the sideboxes/tpl_categories.php page but without success at all... Anytime it gave me this kind of result :

    Code:
    <!--// bof: categories //-->
    <div class="leftBoxContainer" id="categories" style="width: 150px">
    <h3 class="leftBoxHeading" id="categoriesHeading">Categories</h3>
    <div id="categoriesContent" class="sideBoxContent">
    <li><a class="category-top" href="#">Cat</a></li><br />
    <li><a class="category-top" href="#">Cat</a></li><br />
    <li><a class="category-top" href="#">Cat</a></li><br />
    <hr id="catBoxDivider" />
    <a class="category-links" href="#">All Products ...</a>
    </div></div>
    <!--// eof: categories //-->
    I would just like to get rid of all this stuff (various divs, classes, hr, etc) and place my ul, li, and div as I like... But the code structure is too mysterious for me in that template :)

    Anonye could give me any tips or direct me to an existing ressource (search unsuccessful).

    Many thanks in advance !
    Last edited by Corinne; 6 Jun 2007 at 05:25 PM. Reason: Code markup

 

 

Similar Threads

  1. Customizing the look of the header Search form. Submit image and background color.
    By immersive in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 May 2007, 07:51 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