Page 144 of 227 FirstFirst ... 4494134142143144145146154194 ... LastLast
Results 1,431 to 1,440 of 2267
  1. #1431
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    Ah, right:)
    You can add a <span class="subtextLink1"> </span> around each link
    (or add the class to the link <a href="whatever" class="subtextLink1"> </a>)
    and these links can now be addressed individually.

  2. #1432
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Did what you said but unfortunately, it does not work. Below is what I have in the define and stylesheet.
    define ('CAT_BOX_SUBTEXT_21','Manufacturers
    <br /><a href="/" class="subtextLink1">Link1</a>|1|');

    .catBoxSubtext1 {background:#505050; color:#ffffff; font-family:tahoma, arial, helvetica, verdana; font-size:11px; font-weight:bold; margin-top:10px; padding:7px 0 7px 27px;}
    .subtextLink1 {background:none; color:#ffffff; font-family:tahoma, arial, helvetica, verdana; font-size:11px; margin:0; padding:0;}

    I also tried ".subtextLink1 a" but did not make any difference.

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

    Default Re: Categories Dressing

    You might need
    #categories .subtextLink1 {
    to give it enough priority. A good way to tell if this is the case is to add !important in the property value. If it then shows, you just need more specificity or priority; if not, something is wrong with the way you have the rule written, or there is some error in your stylesheet.

  4. #1434
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Categories Dressing

    That did work in a way but since I have padding on the CatBoxSubtext1, the links automatically have this padding as well even if I specify padding:0;.
    Anyway, I think I'll just use a category instead and use that to get a heading and links.
    Thanks for the help tho and for putting the time.

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

    Default Re: Categories Dressing

    You can use negative margins on the sub-links to pull them back out and overcome the padding...

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

    Default Re: Categories Dressing

    autoace - You can actually get the active category tree (only) displayed on category/product listing and product info pages, and all of the top cats on other pages, by a setting in categories_dressing_defines.php.

    define('CAT_BOX_ACTIVE_LEVEL', '2|0|1'); //active only (all tops when no cat selected)

  7. #1437
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Categories Dressing

    gjh42 - Thank you very much. Just not a lot of time currently to test and see all the capacity that your mod has. Absolutely great mod, hope to see it 'standard' in ZC 2.0!
    Thank you,
    autoace

  8. #1438
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I agree with autoace. This is definitely one of the very best mods there is.

    I'm just wondering if you can help me figure seomthing out on www.silkblooms.co.uk as I'm planning to create a new major category called 'Hire Products'. How would I make it appear in bold underneath 'All Products' and above the seperator line so it is grouped together with 'New Products' and 'All Products'?

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

    Default Re: Categories Dressing

    As you have already customized tpl_categories.php to show the new/all/etc. links above the categories instead of the standard location below the categories, and you want the new category between the links and the categories, not between two links, it should only require settings and not more code changes.

    First, turn off the "Categories separator between links" in Configuration > Layout Settings (assuming this is still dynamic and not hard-coded into your new layout).
    Then create your new category and set its order so it appears first in the list, and give the Weddings category a divider above it:

    define ('CAT_BOX_HEADING_1','0|1||');//divider only - style 1

  10. #1440
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Thanks Glenn, that's did it, but how do I give this new category an individual style name so I can add bottom padding to push it up into the group above?

 

 

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