Page 54 of 227 FirstFirst ... 444525354555664104154 ... LastLast
Results 531 to 540 of 2267
  1. #531
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    OK, it works because when the switch is processed, $current_path is still set on the last category that was processed. Yes, it will work correctly for every subcategory you hard-code into the switch.

  2. #532
    Join Date
    Jan 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hallo, sorry for my question... I am begginer...
    I install Categories Dressing and I need change a look. In stylesheet_categories_dressing.css I change global settings like colors for all categories. It is OK. Now I need change one category only. For example: /index.php?main_page=index&cPath=2.

    In stylesheet_categories_dressing.css I have:
    ul#catGroup2 {
    border: 1px solid #bd6699;
    background: #bbeeff;
    position: relative;
    left: -1.3em;
    top: 0.2em;
    }

    In categories_dressing_defines.php I have:
    define ('CAT_BOX_HEADING_2','1|0|aaa.gif|');

    But I see nothing. All is the same. What I do wrong? I use ZenCart 1.3.8 in czech lanuage. Thank you for reply.

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

    Default Re: Categories Dressing

    The information you posted looks ok, so I will have to see your site live to tell what is wrong. Please post a link.

  4. #534
    Join Date
    Jan 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Thank you for reply. URL is here: http://sexshoponline.cz/obchod/index...=index&cPath=2

    Now I need to change one category only. I need to add picture in front text. For example: picture + space + text. Is it possible? I don't know if I have right settings...

    Whatever I change in CSS I see nothing...

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

    Default Re: Categories Dressing

    Code:
    /*example for individual category as bg image*/
    #categories li a.catBg2 {
        background-image: url(../images/zacatek.gif);
        height: 30px;
        }
    
    #categories li a.catBg2:hover {
        background-image: url(../images/catbg25hover.gif);
        }
    	
    /*example for custom individual category styling*/
    #categories li.promuze a {
        border-top: 3px dotted #112233; 
        background-color: #aabbff; 
        color: #000000; 
        padding: 1em 0em;
        } 
        
        .promuze {
        border-top: 1px dotted #112233; 
        color: #000000; 
        background-image: url(../images/zacatek.gif);
        }
    
    ul#catGroup2 {
    	background-image: url(../images/zacatek.gif);
    	background-repeat: no-repeat;
    	}
    You are using
    background-image: url(../images/zacatek.gif);
    but the code will not look for zacatek.gif, and will never display this set of images.
    You need to name the image catbg2.gif, and then see what shows up. This will only work to replace the text with a background image, not add a background image to the text.

    It appears that you have tried several different methods to get the results you want. Do you want a unique image for category 2 (promuze)? Or will the image be the same for all of the top categories?
    For a unique image at the left of the name for one category, do the tpl_categories.php example like this
    PHP Code:
          case ($box_categories_array[$i]['path'] == 'cPath=2'):
            
    $new_style 'promuze';
            break; 
    and in the stylesheet like this example: #categories li.cat-holiday a {}
    Code:
    #categories li.cat-promuze a {
        background: #aabbff url(../images/zacatek.gif) no-repeat left center;
        color: #000000; 
        padding: 1em 0em 1em 3.5em;/*this moves the text away from the left to leave space for the image*/
        }
    Last edited by gjh42; 17 Feb 2009 at 07:17 PM.

  6. #536
    Join Date
    Jan 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I am trying it but still nothing... Is it possible to send you PM with FTP, please? Now I don't know what can I do... I am wierdo... I know...

  7. #537
    Join Date
    Jan 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Categories Dressing


  8. #538
    Join Date
    Jan 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Or I can send you necesary files like CSS and PHP.

    In my opinion HTML page can't see style #categories li.cat-promuze a

    Here is a part of HTML code:
    <div id="categoriesContent" class="sideBoxContent">
    <a class="promuze" href="http://sexshoponline.cz/obchod/index.php?main_page=index&amp;cPath=2"><span class="category-subs-parent">PRO MUŽE</span></a><br />
    <a class="category-products" href="http://sexshoponline.cz/obchod/index.php?main_page=index&amp;cPath=2_10">Afrodisiaka a Feromony</a><br />

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

    Default Re: Categories Dressing

    The picture of the categories menu you want is what I really needed to give the right advice.
    The "$new_style = 'promuze';" code is one way to get what you want for the categories, but it requires a separate "case" for every category and subcategory.
    You have been working hard - I see you now have most of the top and subcategories done.

    The most efficient approach would be to use category groups, so you can easily get the different bullets on the subcategories, but since you are so close with the method you are using, keep going as you are.

  10. #540
    Join Date
    Jan 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Thank you for your advise :-) Can you help me with one thing? I need decrease high between categories. Where can I set this?

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR