Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    84
    Plugin Contributions
    0

    Default How to change font size and color in header!!

    i am trying to change the font and color in the header. I want to change Log in checkout and Shopping Cart. Below is what I have:

    <?php if ($_SESSION['customer_id']) { ?>

    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>

    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>

    <?php

    } else {

    if (STORE_STATUS == '0') {

    ?>

    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>

    <?php } } ?>



    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>

    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>

    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>

    <?php }?>

    </ul>

    </div>

    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>

    <br class="clearBoth" />

    </div>

  2. #2
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: How to change font size and color in header!!

    Quote Originally Posted by laurieudy View Post
    i am trying to change the font and color in the header. I want to change Log in checkout and Shopping Cart. Below is what I have:

    <?php if ($_SESSION['customer_id']) { ?>

    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>

    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>

    <?php

    } else {

    if (STORE_STATUS == '0') {

    ?>

    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>

    <?php } } ?>



    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>

    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>

    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>

    <?php }?>

    </ul>

    </div>

    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>

    <br class="clearBoth" />

    </div>

    A little tip, 99.9% of the time in web development font size and color is NOT going to be controlled by the actual php/html code, or at least it should not be. You want to find the .css file and find the class/id that those items are referencing.

    e.g.

    #navMain a{
    font-size:1.3em;
    font-color:#fafafa;
    }

    this would change the home/checkout/login/shopping cart links to the above specified font size and color.

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

    Default Re: How to change font size and color in header!!

    Dear Chronister:
    I have been trying to change the font color in the home, log in of the header, and "home" in the footer, among others.

    Could you tell me (in red) where exactly should I made the changes you suggested?
    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;
    }

 

 

Similar Threads

  1. Font size, color and style change in side boxes
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Oct 2010, 03:45 AM
  2. How do I change the "sales message goes here" font, size and color?
    By popemil in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Aug 2010, 09:28 PM
  3. Color and font size change
    By nesin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Dec 2009, 10:24 PM
  4. Want to change HEADING_TITLE font size and color.
    By awhitley2 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Jun 2009, 05:15 AM
  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