Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4409

    My logo has a white background but the header background is not quite white. See here; http://www.newcastleconstruction.net/

    1. Can you tell me how to change the background color?

    2. How can I add a phone number in the header?

    Thanks.

    #46214

    Hey,

    1) You can change the background color under Appearance > Background in your admin panel.

    2) just replace following code in header.php:

    <h2 class="logo <?php echo $logoclass; ?>"><a class='ie6fix' href="<?php echo get_settings('home'); ?>/"><?php echo $logo; ?></a></h2>

    with:

    <h2 class="logo <?php echo $logoclass; ?>"><a class='ie6fix' href="<?php echo get_settings('home'); ?>/"><?php echo $logo; ?></a></h2>
    <div id="phone">My number: 0000 0000 0000</div>

    and add following i.e. following code to style.css:

    #phone{
    position: absolute;
    right:0px;
    top:30px;
    font-weight: bold;
    font-size: 15px;
    color: #777;
    }

    You can adjust the position by changing the values of “top” and “right”. Change the font size, color, etc. as you like and change the “My number” text.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Changing Header Color and Add Phone Number for Avisio’ is closed to new replies.