I tried...Site is noheat.com <div id="header" onclick="location.href='http://www.noheat.com/'"> </div> but it just messes up my search box... Here's what I have to work with any ideas... <div id="header"> <a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('description'); ?></a><br /> <?php bloginfo('description'); ?> <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> <label for="s"></label> <div align="right"> <table width="150" border="0" cellspacing="5" cellpadding="5"> <tr> <th scope="row"><div align="right"> <input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /> <input name="submit" type="submit" id="searchsubmit" value="Search" /> </div></th> </tr> </table> <br /> </div> </form>
I took the code out because it was screwing up my search box, so now you can't click on the logo to go home. I still have a link in my toolbar to go "home" there but I get complaints all the time that I need to link my logo up.
dont know buddy. because when we look at your theme, everything is find. maybe because you took out the code though. -cypher.
What I am really looking for is a way to be able to click on the logo to take me home without screwing up the search bar. wise
Try: <div id="header" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;"> </div> Code (markup): Nice site, by the way.
Thanks Mizaks thats the code I had in there before, now try and search. If you click in the search box it wants send you back to the "home" page without entering in your search text.
Here is the code for my search form: <form id="searchform" method="get" action="<?php bloginfo('home'); ?>/" ><input type="text" value="search" onfocus="if (this.value == 'search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'search';}" size="18" maxlength="50" name="s" id="s" /><input name="submit" type="submit" id="submit" value="search" /></form> Code (markup): Try substituting it in for yours and see if it makes a difference.
try this: <div id="header"> <div class="subheader" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;"><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('description'); ?></a><br /> <?php bloginfo('description'); ?> </div> <!--close subheader--> <form id="searchform" method="get" action="<?php bloginfo('home'); ?>/" ><input type="text" value="search" onfocus="if (this.value == 'search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'search';}" size="18" maxlength="50" name="s" id="s" /><input name="submit" type="submit" id="submit" value="search" /></form> </div> <!--close header--> Code (markup): -cypher.
it is because fo the css. need to check your css then. but it looks ok in my firefox though. -cypher.