GetSimple Support Forum

Full Version: How to make a clickable logo?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Please tell me how to do that when you click on the logo was the transition to the main site url http://spravka-dlya-voditelya.kiev.ua/
with preservation of the established styles.
Code head site:
Quote: </head>
<body id="<?php get_page_slug(); ?>" >
<div class="container">
<div id="logo"><div class="clear"></div>

<!-- <?php get_i18n_search_form(array('slug'=>'search')); ?> -->

<a href="<?php get_site_url(); ?>" title="<?php get_site_name(); ?>"><h1><?php get_site_name(); ?></h1></a>
</div>
<div id="menu">
<ul><?php get_i18n_navigation(return_page_slug(),0,1,I18N_SHOW_MENU); ?></ul>
<div class="clear"></div>
</div>
This is not really GS-related, but more of a HTML question...

A quickie: Try replacing the whole <div id="logo">[...]</div> block by:

Code:
<a href="<?php get_site_url(); ?>" title="<?php get_site_name(); ?>"><div id="logo"><div class="clear"></div>

<!-- ... -->

<h1><?php get_site_name(); ?></h1>
</div></a>
Carlos, thank you very much for your help! That is what I wanted.