Changing site text to logo

Hi, How would i change the site so instead of showing the site name i entered when installing i can place a logo for my site which will also just link to the main page. And how can i change the location to where that links as well, thanks for the help

  • Open the following file - views/default/page_elements/header_contents.php - and edit line 23(ish)

    <div id="page_container">
    <div id="page_wrapper">

    <div id="layout_header">
    <div id="wrapper_header">
        <!-- display the page title -->
        <h1><a href="<?php echo $vars['url']; ?>"><?php echo $vars['config']->sitename; ?></a></h1>
    </div><!-- /#wrapper_header -->
    </div><!-- /#layout_header -->

     

  • so what must i change it to lets say if i had main_logo.gif in the _graphics part of the website and wanted that to be the site logo where the text currently is

     

  • <div id="page_container">
    <div id="page_wrapper">

    <div id="layout_header">
    <div id="wrapper_header">
        <!-- display the page title -->
        <img src="/_graphics/main_logo.gif" align="right">
    </div><!-- /#wrapper_header -->
    </div><!-- /#layout_header -->

    You will probably have to change the height of the header in the css (/views/default/css.php)