Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2008
    Posts
    2
    Plugin Contributions
    0

    Default sidebox(Category) header color change

    I purchased a template from teamplatemonster and wanting to change the green category header to another color. I've searched other threads but didnt work...

    www.210avenue.com

    this is my site

    thank you in advance! =)

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

    Default Re: sidebox(Category) header color change

    TM strikes again!

    This template has deleted the standard Zen Cart id tags that uniquely distinguish each sidebox, so there is no way to address just the categories heading.

    If you want to fix this, you will have to find the template file that controls this and insert code to replicate the ZC standard id behavior.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: sidebox(Category) header color change

    This is another opportunity to use Firefox and its wonderful plugins. Install Firefox, if you don't already use it, then download and install Colorzilla and the Web Developer plugin. Use Colorzilla to find the (hex) color of your sideboxes (AACA27, in this case) then search for that string in all your stylesheets using the Web Developer plugin. Easy.

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

    Default Re: sidebox(Category) header color change

    Yes, if you want all the sidebox headings the same color, it is easy. You could also just use the FF Web Developer's Information > Display Element Information button to click on a heading and see that it has a class of .inside_box_head, and find that in your stylesheet.

    Actually, I just noticed that the overall categories box still has its id, so even though there is no heading id it is still possible to style the heading individually in your stylesheet_boxes.css, like this:

    #categories .inside_box_head {background-color: #aabbcc;}

    For once a TM CSS change makes sense - the original ZC method works perfectly, but the TM method does too, and is a bit simpler in the coding. It might cause a loss of flexibility if you want left and right boxes to look different, though - switching a sidebox from side to side would not automatically let it follow the sidebar colors.
    Last edited by gjh42; 20 Nov 2008 at 01:20 PM.

 

 

Similar Threads

  1. From sidebox to header but can't change color!
    By soyabeane in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 May 2009, 04:17 AM
  2. Category Sidebox -- Change Font Color on hover
    By johnd in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 20 Aug 2008, 10:41 PM
  3. Help...How to change sidebox header background color?
    By meiziwo in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 20 Jul 2008, 10:15 AM
  4. Change background color of shopping cart sidebox header?
    By sunflowertami in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Jun 2008, 01:19 AM
  5. sidebox bg color and header color wont change..
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 11 Jul 2007, 01:51 AM

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