Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2005
    Location
    Dothan, AL
    Posts
    409
    Plugin Contributions
    0

    Default Sidebox Customization

    I've tried to come with the best way to ask this, and I can't figure it out...so I'll just attach two screenshots on what I am trying to accomplish.

    The jist is to be able to have the background change ONLY when in a certain set of subcategories.

    Here's how it is now...
    http://www.ats-dothan.com/precisionpet/pp_cat_now.gif

    Here's what I want...
    http://www.ats-dothan.com/precisionpet/ppp_cat_Want.gif

    any help would be GREATLY appreciated.

  2. #2
    Join Date
    Feb 2006
    Posts
    235
    Plugin Contributions
    1

    Default Re: Sidebox Customization

    There is a way to make a specific category stand out check out the css file for an example, not sure it will fully accomplish your request, but a good place to start....
    www.planetebio.net - Eat Right Feel Good !

  3. #3
    Join Date
    Jul 2005
    Location
    Dothan, AL
    Posts
    409
    Plugin Contributions
    0

    Default Re: Sidebox Customization

    nothing in there that I know of that accomplishes what I need...

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Sidebox Customization

    These look to be sub-cats all under "dog" with some on blue and some not.

    You would have to develop a way to delineate these and I do not know of a way. Can you rearrange do that when a top level cat is selected that all sub-cats then become highlighted versus only some??

  5. #5
    Join Date
    Jul 2005
    Location
    Dothan, AL
    Posts
    409
    Plugin Contributions
    0

    Default Re: Sidebox Customization

    they are all sub cats

    Dog (main cat)
    Beds (sub cat of dog)
    Traditional (sub of beds)

    i want jsut the sub, of the subs hilighted, if that makes sense

  6. #6
    Join Date
    Sep 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Sidebox Customization

    Check out the notes at the top of includes>template_default>sideboxes>tpl_categories.php

    "// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
    // uncomment the select below and set the cPath=3 to the cPath= your_categories_id
    // many variations of this can be done
    // case ($box_categories_array[$i]['path'] == 'cPath=3'):
    // $new_style = 'category-holiday';
    // break;
    "

    You maybe able to define a new class that handles only the sub-categories. i.e.

    .subcategories {
    background-color: #66FFFF;
    }


    Just a guess. This is only my third day of messing with zencart however, and I'm crap with PHP.

 

 

Similar Threads

  1. Sidebox Customization
    By kamelion0927 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 May 2011, 04:17 PM
  2. Sidebox Customization
    By autoace in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 20 Nov 2010, 05:22 PM
  3. Stuck on sidebox customization
    By Shane78 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 31 Aug 2009, 10:16 PM
  4. Sidebox customization
    By ctcentralinfo in forum Templates, Stylesheets, Page Layout
    Replies: 25
    Last Post: 28 Jan 2008, 09:21 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