Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a clickable logo?
#1
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>
Reply
#2
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>
Reply
#3
Carlos, thank you very much for your help! That is what I wanted.
Reply




Users browsing this thread: 1 Guest(s)