Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default change color of header bar

    hi,
    There's a problem with my site that I don't know how to solve.
    Under my header there is a bar which I don't know how to change
    the color of it.
    I have an add on from firefox with whom I can view the css from a certain part of my site.
    Well it seems that there are 3 overlapping css parts of that second bar under my header.
    Can anyone tell me how I could change the color or content with an image file of that second bar?

    my site is www.afro-masks.com
    (the pictures in it are not yet the masks I'm goiing to sell)

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: change color of header bar

    That color is the one set for your navMainWrapper at around about line 64 of your stylesheet. The setting also controls the color of the top menu bar.

    This is because you have two DIVs with the same ID - which you shouldn't have.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default Re: change color of header bar

    I've changed the color in Mainwrapper div temporary and it did change the color, but it also changed the color in the upper first bar,
    which I do not want to change.
    Is there a way to control only the second bar?
    Thx

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: change color of header bar

    Yes. Give it a unique ID, which you should do anyway, as repeating the same ID twice on a page is invalid.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default Re: change color of header bar

    This unique ID ,I'm only aware of inserting them in HTML, but not in PHP. Where in what file should I insert them?
    (I'm only a beginner in zencart)

    Thx for the advice

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: change color of header bar

    Zen Cart doesn't have this duplicate so it must be one that you inserted, and only you can know for sure where. My best guess would be your tpl_header.php file.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Aug 2008
    Posts
    340
    Plugin Contributions
    0

    Default Re: change color of header bar

    Isn't there anybody who can help me with this, cause I don't now much about Php

 

 

Similar Threads

  1. How to change font color in product header bar?
    By bluesky1992 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Nov 2011, 06:06 PM
  2. Header & Footer Bar Color
    By russellmcox in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Jul 2009, 09:58 AM
  3. Header/Footer bar color
    By benob1 in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 8 Apr 2009, 07:35 AM
  4. 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
  5. Font color in Header bar
    By seanscully in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 7 Jun 2006, 03:34 AM

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