Page 131 of 227 FirstFirst ... 3181121129130131132133141181 ... LastLast
Results 1,301 to 1,310 of 2267
  1. #1301
    Join Date
    Apr 2007
    Posts
    23
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I guess I am missing it somewhere in the forum or in the instructions, but I am continuing to try

    My site is: www.AllClaveParts.com
    I am using zencart version 1.38

    First, I want to add a background image (a button ) behind the linked text something like this (named catbg20.gif & stored in /templates/mytemplate/buttons/english)




    Then I want to divide the categories up into 2 non-linked headings: "Free Documents" and "Autoclave Parts"

    I have tried modifying two files:

    /stylesheet_categories_dressing.css & /categories_dressing/defines.php

    with no luck.

    I would really appreciate someone pointing me in the right direction with this excellent add on

    Thank you

    Wally

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

    Default Re: Categories Dressing

    You don't appear to have any top category with id 20, which is why the button does not display anywhere.
    What you really want here is a generic background for all the category links. Thus, you would add it as the background in

    #categories li a {background: url(../images/catbutton.gif);}

    and save it as /includes/templates/your_template/images/catbutton.gif.

    For the headings (assuming you already have the categories in the order you want them), you would define them for category 176 (the first one in free documents) and category 217 (the first one in parts). You should comment out the defines for categories you don't want special, like category 1.

  3. #1303
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I am also trying to do something simular to Wally. My site is:
    www.maynardstackle.com
    I am trying to get the text links on top of the yellow buttons. Can someone give me some advice in which to do that.
    Thank you in advance.

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

    Default Re: Categories Dressing

    Maynards - You are using the button background image as the list marker. What you want is to use it as the background-image. Change this
    Code:
    #categories ul a {/*top categories*/
    
        display: list-item;
    
        list-style: disc inside url(../images/catbutton.gif);/*change to list-style: none; to remove bullet*/
    
        background: no-repeat;
    
        border: none;
    
        margin: 0;
    
        padding: 0;
    
        }
    
    
    
    #categories ul ul {/*subcategory lists*/
    
        list-style: none;
    
        background: #ffeecc;
    
        border: none;
    
        margin: 0 0 0.4em 0;
    
        padding: 0 0 0 1.3em;
    
        }
    
    
    
    #categories ul ul a {/*subcategories*/
    
        display: list-item;
    
        list-style: circle inside url(../images/catbutton.gif);/*change to list-style: none; to remove bullet*/
    
        background: #ffddbb;
    
        border: none;
    
        margin: 0;
    
        padding: 0;
    
        }
    to this
    Code:
    #categories ul a {/*top categories*/
        display: block;
        background: url(../images/catbutton.gif) no-repeat;
        border: none;
        margin: 0;
        padding: 0;
        }
    
    #categories ul ul {/*subcategory lists*/
        list-style: none;
        background: #ffeecc;
        border: none;
        margin: 0 0 0.4em 0;
        padding: 0 0 0 1.3em;
        }
    
    #categories ul ul a {/*subcategories*/
        display: block;
        background: #ffddbb url(../images/catbutton.gif) no-repeat;
        border: none;
        margin: 0;
        padding: 0;
        }
    You may want to add a height to these rules as well.

  5. #1305
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Thanks so much I give a try.

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

    Default Re: Categories Dressing

    Also, since you are not using the chcategories version, you should delete stylesheet_chcategories_dressing.css, as a few of its rules may override the ones you have in stylesheet_categories_dressing.css.

  7. #1307
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I did delete the file chcategories_dressing.css, but I am still having a few issues. I will keep working on it.... I am alot closer to what I am looking for with your help. Thank you

  8. #1308
    Join Date
    Apr 2007
    Posts
    23
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Thank you so much for your help and support!

    I have the text aligned to the center of the buttons, is there any way to put them in the middle of the button vertically as well?

    Also, when you clik on any of the categories, the box widens considerably, and it is attempting to put a second button along side of it.

    I am going through the forum, and trying different things as I find them.

    Again, thank you for your help

    Wally

  9. #1309
    Join Date
    Apr 2007
    Posts
    23
    Plugin Contributions
    0

    Default Re: Categories Dressing

    By adding "no repeat" after the url as in the post above, I was able to stop the buttons from duplicating. But the columns continue to get wider and the text moves off of the button.

    The worst offender I have found so far is when you click on specials from the drop down menu at the top of the page under home

    I still haven't found anything about adjusting the vertical alignment of the text inside the buttons

    Could you please point me in the right direction

    Thank you

    Wally

  10. #1310
    Join Date
    Feb 2010
    Location
    Minnesota
    Posts
    391
    Plugin Contributions
    0

    Default Re: Categories Dressing

    2 issues with cat.dressings... why does the hover buttons work with FF but not with IE? and is there a way I can make the same hover button to work with the last link under catagories called: All products.

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 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