Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2006
    Location
    Boston, MA
    Posts
    84
    Plugin Contributions
    0

    Default Changing color of bars in header, footer, and on product category pages?

    I did this when I first setup my zencart a couple years back and we now have chnaged our color scheme of our business. I have changed all the fonts, colors, and everything else using my stylesheets but cant seem to remember where it is where I change the color of these bars.


    The bars I am referring to are the colored bars above and below the top section of pages where "Home", "My Account" the search box, etc are

    AND

    in the footer

    AND

    I belive these colored bars are also on product pages etc..

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

    Default Re: Changing color of bars in header, footer, and on product category pages?

    I could just give you some of those, but it will work better for you to know how to find the tags yourself.

    Get the Firefox Web Developer extension, and use the Information > Display Element Information button. It will show all the info you need about any element you click on; you can then take that to the stylesheet and edit or add the relevant selectors to style.

  3. #3
    Join Date
    Jun 2006
    Location
    Boston, MA
    Posts
    84
    Plugin Contributions
    0

    Default Re: Changing color of bars in header, footer, and on product category pages?

    Thanks for the advice Glenn.

    I downloaded the firefox extenstion.

    Im a little confused as to how to use it to locate where to change the color attributes for these bars.

    I found the td.headernavigation and td.footertop sections of my stylesheet_original css file but cannot seem to find wher exactly to change the color code.

    Any suggestions?

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

    Default Re: Changing color of bars in header, footer, and on product category pages?

    Stylesheet_original.css indicates that you have an old version of Zen Cart, like 1.3.0 or 1.3.0.1, and used the Classic template from that version. More recent versions have merged all style info into stylesheet.css, and the templates are no longer table-based, so I don't have a reference for what yours should look like.

    That said, look for background-color: #xxxxxx; as that is the property you want to change.

  5. #5
    Join Date
    Jun 2006
    Location
    Boston, MA
    Posts
    84
    Plugin Contributions
    0

    Default Re: Changing color of bars in header, footer, and on product category pages?

    Got most of the changes i needed fixed. The colors of the bars that I was referring to were actually controlled bya .jpg image that I had to edit called tile_back.jpg.

    I am still having issues trying to remove a border around my footerbottom (the copyright text section) I have tried everyhting but cant seem to remove it. Any suggestions?

    My site is here: here

    My code for my footer section of my stylesheet is here:

    Code:
    /* footer
    --------------*/
    
    TABLE.footer {
      background: #000000;
      text-align: center;
      font-size: 10px;
      border-right: 0px solid #9a9a9a;
      border-left: 0px solid #9a9a9a;
      border-bottom: 1px solid #000000;
    }
    
    TR.footertop {
      background: #abbbd3 url('../images/tile_back.jpg');
      font-size:11px; background-image:url('../images/tile_back.jpg')
    }
    
    TD.footertop, TD.footerbottom {
      padding: 5px;
    }
    
    
    
    
    
    TD.footerbottom {
      background: #000000;
      color: #ffffff;
      border: 0px solid #9a9a9a;
      border-right: 0px solid #000000;
      border-left: 0px solid #000000;
      border-bottom: 0px solid #000000;
      font-size: 9px;
    }
    
    TD.footerbottom a {
      color: #ffffff;
    }
    
    TD.footerbottom A:visited{
      color: #ffffff;
    }

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

    Default Re: Changing color of bars in header, footer, and on product category pages?

    There is a table with class="footer" which (in the code) encloses the footerbottom element. Adding
    .footer {display: none;}
    to the stylesheet kills the little line, which is actually not part of either footertop or footerbottom.

  7. #7
    Join Date
    Jun 2006
    Location
    Boston, MA
    Posts
    84
    Plugin Contributions
    0

    Default Re: Changing color of bars in header, footer, and on product category pages?

    Thanks for the reply Glen!

    I added .footer {display: none;} to my css and it did nothing.

    However because of your reply I searched for class="footer" in my developers tool kit and did some research in includes/templates/classic/common/tpl_footer.php to find there was a border=1 tag as an attribute in one of the tables.

    Changed it to "0" and now its all set!!!!!!!

    Thanks for helping me think a little deeper.

    -Dave

 

 

Similar Threads

  1. Changing links on category tabs and main nav bars
    By iwalkonstars in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Apr 2012, 09:22 AM
  2. Changing Categories In Header And Footer Bars - Please Help
    By scrembo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Oct 2009, 08:00 PM
  3. Changing Text Color in the header & footer
    By stlnyc in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 31 Oct 2008, 03:21 AM
  4. Need to change color of navigation bars and footer bars. can't find it on style sheet
    By spaskinstyle in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Sep 2008, 01:59 PM
  5. Creating Header and Footer per Category and Product
    By gardengate in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Aug 2006, 08:26 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