GetSimple Support Forum
How to make a clickable logo? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: How to make a clickable logo? (/showthread.php?tid=6482)



How to make a clickable logo? - vetall2007 - 2014-06-12

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>



RE: How to make a clickable logo? - Carlos - 2014-06-13

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>



RE: How to make a clickable logo? - vetall2007 - 2014-06-13

Carlos, thank you very much for your help! That is what I wanted.