Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default Font color change in header and footer help!!!!

    Dear all:

    I am new at Zen cart.
    I have been trying to change the font color of "Home", "Log In in the Header, "New products" and "Home" in the footer.

    I want to change the color from black to WHITE. I have been able to change some of the sideboxes but all of the others remain the same (black).
    You Can take a look of this problem at www.mhi-ramps-and-lifts.com.

    May I get some help on how should I write the progarm on the stylesheet?
    Thanks !!!

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Font color change in header and footer help!!!!

    Quote Originally Posted by Marlake View Post
    Dear all:

    I am new at Zen cart.
    I have been trying to change the font color of "Home", "Log In in the Header, "New products" and "Home" in the footer.

    I want to change the color from black to WHITE. I have been able to change some of the sideboxes but all of the others remain the same (black).
    You Can take a look of this problem at www.mhi-ramps-and-lifts.com.

    May I get some help on how should I write the progarm on the stylesheet?
    Thanks !!!
    open includes/templates/debitemplate/css/stylesheet.css

    change the following declaration as indicated by the highlighted portion:

    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    margin: 0em;
    background-color: #abbbd3;
    background-image: url(../images/tile.gif);
    padding: 0.5em 0.2em;
    font-weight: bold;
    color: #FFFFFF;

    }

  3. #3
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default Re: Font color change in header and footer help!!!!

    Hi Clyde:
    I tried what you told me to do but it remains the same.
    Could you try something else? Sorry!

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: Font color change in header and footer help!!!!

    those are links (<a> tags) under the <ul> and <li> tags of navMain and navSupp

    Try using something like

    #navMain ul li a, #navSupp ul li a {color: #FFFFFF;}

    You will also need to do the same for the sidebox header.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default Re: Font color change in header and footer help!!!!

    Hi:
    What I have so far is this:




    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    margin: 0em;
    background-color: #abbbd3;
    background-image: url(../images/tile.gif);
    padding: 0.5em 0.2em;
    font-weight: bold;
    color: #FFFFFF;

    }

    Where exactly should I put the changes you have mentioned?
    Thanks,
    Marlake

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: Font color change in header and footer help!!!!

    did you try as I suggested? Otherwise the a tag is overwritten earlier in the style sheet.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  7. #7
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default Re: Font color change in header and footer help!!!!

    No I have not tried, THat is why I would like to know where exactly should I put the changes you suggested. Could you tell me (in red) where should I put the changes you mentioned?
    Thanks,
    Marlake

    /*navigation*/

    .navSplitPagesResult {}
    .navSplitPagesLinks {}

    .navNextPrevCounter {
    margin: 0em;
    font-size: 0.9em;
    }
    .navNextPrevList {
    display: inline;
    white-space: nowrap;
    margin: 0;
    padding: 0.5em 0em;
    list-style-type: none;
    }

    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    margin: 0em;
    background-color: #abbbd3;
    background-image: url(../images/tile.gif);
    padding: 0.5em 0.2em;
    font-weight: bold;
    color: #FFFFFF;

    }
    #navCatTabsWrapper {
    background-color: #ffffff;
    color: #9a9a9a;
    background-image:none;
    }

    #navMain ul, #navSupp ul, #navCatTabs ul {
    margin: 0;
    padding: 0.5em 0em;
    list-style-type: none;
    text-align: center;
    line-height: 1.5em;
    }

    #navMain ul li, #navSupp ul li, #navCatTabs ul li {
    display: inline;
    }

    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
    text-decoration: none;
    padding: 0em 0.5em;
    margin: 0;
    white-space: nowrap;
    }


    #navCatTabs ul li a {
    color: #9a9a9a;
    }

    #navEZPagesTOCWrapper {
    font-weight: bold;
    float: right;
    height: 1%;
    border: 1px solid #9a9a9a;
    }

    #navEZPagesTOC ul {
    margin: 0;
    padding: 0.5em 0em;
    list-style-type: none;
    line-height: 1.5em;
    }

    #navEZPagesTOC ul li {
    white-space: nowrap;
    }

    #navEZPagesTOC ul li a {
    padding: 0em 0.5em;
    margin: 0;
    }

    #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
    margin: 0.5em;
    }

    #navMainSearch {
    float: right;
    }

    #navBreadCrumb {
    padding: 0.5em 0.5em;
    background-color: #000000;
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    }

    #navEZPagesTop {
    background-color: #abbbd3;
    background-image: url(../images/tile.gif);
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    padding: 0.5em;
    }

    #navColumnOne, #navColumnTwo {
    background-color: transparent;
    }

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: Font color change in header and footer help!!!!

    Quote Originally Posted by Marlake View Post
    No I have not tried, THat is why I would like to know where exactly should I put the changes you suggested. Could you tell me (in red) where should I put the changes you mentioned?
    Thanks,
    Marlake

    /*navigation*/

    .navSplitPagesResult {}
    .navSplitPagesLinks {}

    .navNextPrevCounter {
    margin: 0em;
    font-size: 0.9em;
    }
    .navNextPrevList {
    display: inline;
    white-space: nowrap;
    margin: 0;
    padding: 0.5em 0em;
    list-style-type: none;
    }

    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    margin: 0em;
    background-color: #abbbd3;
    background-image: url(../images/tile.gif);
    padding: 0.5em 0.2em;
    font-weight: bold;
    color: #FFFFFF;

    }
    #navCatTabsWrapper {
    background-color: #ffffff;
    color: #9a9a9a;
    background-image:none;
    }

    #navMain ul, #navSupp ul, #navCatTabs ul {
    margin: 0;
    padding: 0.5em 0em;
    list-style-type: none;
    text-align: center;
    line-height: 1.5em;
    }

    #navMain ul li, #navSupp ul li, #navCatTabs ul li {
    display: inline;
    }

    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
    text-decoration: none;
    padding: 0em 0.5em;
    margin: 0;
    white-space: nowrap;
    color: #FFFFFF;
    }


    #navCatTabs ul li a {
    color: #9a9a9a;
    }

    #navEZPagesTOCWrapper {
    font-weight: bold;
    float: right;
    height: 1%;
    border: 1px solid #9a9a9a;
    }

    #navEZPagesTOC ul {
    margin: 0;
    padding: 0.5em 0em;
    list-style-type: none;
    line-height: 1.5em;
    }

    #navEZPagesTOC ul li {
    white-space: nowrap;
    }

    #navEZPagesTOC ul li a {
    padding: 0em 0.5em;
    margin: 0;
    }

    #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
    margin: 0.5em;
    }

    #navMainSearch {
    float: right;
    }

    #navBreadCrumb {
    padding: 0.5em 0.5em;
    background-color: #000000;
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    }

    #navEZPagesTop {
    background-color: #abbbd3;
    background-image: url(../images/tile.gif);
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    padding: 0.5em;
    }

    #navColumnOne, #navColumnTwo {
    background-color: transparent;
    }
    Normally I enter extra code at the bottom of the css so as not to have to find it later but this should work.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  9. #9
    Join Date
    Mar 2008
    Posts
    125
    Plugin Contributions
    0

    Default Re: Font color change in header and footer help!!!!

    Good news and bad news:

    The good news: "Home", "log in" in the header and "home" in the footer already changed to white! Thanks!!!!

    Bad news: (maybe because I did not ask you for that)

    The font color in the sidebox that show new products: "New products (more)" is still black.

    Also on the listings of the products, the 3 words: "product image" "item name" and "price" , the font is still black.

    Could you help me out on these too?
    Thanks,
    Marlake

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: Font color change in header and footer help!!!!

    Let's teach you how to fish.

    Get a copy of firefox along with the firebug add-on.

    Load firefox first then add the firebug. It should put a symbol at the bottom right-hand corner of firefox. You can use that to open firebug or open it out of the tools menu.

    Open your site in firefox, open firebug, click on inspect in firebug and move the cursor to the area of your site that you want to change. Click on the item you want to change and the css info will show in the right-hand window of firebug. It even tells you what line it's on in the css.

    You can use the left window to click on various divs to find info on them as well.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Change EZPages Font Color in Header
    By axxess in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jan 2011, 07:52 PM
  2. Change header and footer color
    By hara in forum Basic Configuration
    Replies: 1
    Last Post: 18 Feb 2009, 04:53 AM
  3. Font color change and back ground.. need some help.
    By in4sit in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 May 2008, 04:37 AM
  4. How to change font size and color in header!!
    By laurieudy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Mar 2008, 09:38 PM
  5. Help with header and footer font and color size
    By laurieudy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Nov 2007, 06:35 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