Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2009
    Posts
    20
    Plugin Contributions
    0

    Default Changing Header Color

    I have implemented my own logo and header image. I now want to change the color of every header to one that is complimentary.

    I have a sample color chart showing me the values I need to try and I know this is a stylesheet change, but I have no idea what the element is I need to change, and I don't know whether this is a single or multiple element change.

    Any help would be appreciated.
    Regards,
    Russell Cox

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

    Default Re: Changing Header Color

    Do you mean the sidebox and center column headers? If so, search the stylesheet for tile_back.gif. That's the green image used in the 'classic' template. If you want to replace the image with another, those are the places you'll do it. If you just want a background color in those headers, remove the background-image line, and the headers will become light blue. Then change the background-color value to the color you want.
    Last edited by stevesh; 25 Jul 2009 at 04:23 PM.

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

    Default Re: Changing Header Color

    For sideboxes, style
    .leftBoxHeading, .rightBoxHeading {}

    For centerboxes, style
    .centerBoxHeading {}

    If these don't work, post a link to see your site live - some templates change class names for no particular reason.

  4. #4
    Join Date
    Jun 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: Changing Header Color

    Is this done in following the template over-ride procedure?
    Regards,
    Russell Cox

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

    Default Re: Changing Header Color

    Yes, you should make any changes to /includes/templates/your_template/css/stylesheet.css.

    The stylesheet is just about the one thing that every single custom template needs to have, so you will have one already.

  6. #6
    Join Date
    Jun 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: Changing Header Color

    I created/copied:
    includes/templates/ramblinrose/css/stylesheet.css

    I removed all instances of "tile_back.gif" (there were several).
    I then changed the following:

    .leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
    margin: 0em;
    background-color: #ff00cc;
    padding: 0.5em 0.2em;
    }

    to the color "ff00cc" as you see above.

    I do not see any change in box header color.

    The site url is:
    http://www.ramblinrose.net/zencart

    Any help is appreciated...
    Regards,
    Russell Cox

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

    Default Re: Changing Header Color

    You have all these stylesheets in your /css/ folder:

    /includes/templates/ramblinrose/css/stylesheet.css

    /includes/templates/ramblinrose/css/stylesheet_20090723-0958.css

    /includes/templates/ramblinrose/css/stylesheet_20090725-1426.css

    /includes/templates/ramblinrose/css/stylesheet_20090726-0855.css

    /includes/templates/ramblinrose/css/stylesheet_20090726-0858.css

    and all of them are being applied in alphabetical order. If you remove something like background-image in one and leave it in another, it will still be in effect.

    Do not save backup copies of stylesheets in this folder, or if you want to, rename them with something other than a .css extension, like .bak .
    Last edited by gjh42; 26 Jul 2009 at 03:45 PM.

  8. #8
    Join Date
    Jun 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: Changing Header Color

    Ok... I moved those backup files to my hard drive and all worked as advertised.

    I assumed that by renaming them with a date & time, they would not be recognized by the script.

    Thank you for your help.
    It is much appreciated.
    Regards,
    Russell Cox

 

 

Similar Threads

  1. Changing the color of my header images
    By davisz in forum Addon Templates
    Replies: 8
    Last Post: 12 Apr 2011, 05:52 PM
  2. Changing Header Color
    By ajaipandey in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Sep 2010, 06:54 PM
  3. changing link color in sidebar header
    By dudemaaan in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Feb 2010, 10:00 PM
  4. Changing Catagory Header Background Color
    By Cadred in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 24 Jul 2009, 09:10 PM
  5. Changing color on New Product header
    By Linda5630 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Sep 2006, 11:56 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