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

    Hi, Is there a simple way of customising the header in the ‘Display’ Theme

    All I desire is a telephone number top right above the menu.

    I’m unsure if I would do this by using a widget somewhere or editing the file (Placing a graphic) in the header file?

    Although I’m unsure which file this is exactly.

    Any suggestions would be very much appreciated. Thanks in advance!

    #38663

    Hey,

    just replace following code in header.php:

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

    with:

    <h1 class="logo ie6fix <?php echo $logoclass; ?>"><a href="<?php echo get_settings('home'); ?>/"><?php echo $logo; ?></a></h1>
    <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.

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

The topic ‘Customising the Header’ is closed to new replies.