AdamH
|
Trying to find a simple answer for this, did a search which didn't help.
So, I'd like my header to link my homepage whenever it's clicked. I'm guessing that I need to modify header.php instead of index.php, but I'm not sure what to change. I'm guessing that it's somewhere here:
<div class="art-header"> <div class="art-header-wrapper"> <div class="art-header-inner"> <div class="art-headerobject"></div> <div class="art-logo"> <?php if(theme_get_option('theme_header_show_headline')): ?> <h1 class="art-logo-name"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <?php endif; ?> <?php if(theme_get_option('theme_header_show_slogan')): ?> <h2 class="art-logo-text"><?php bloginfo('description'); ?></h2> <?php endif; ?> </div>
I'm not sure which part of this that I need to change. I'd rather know for myself which part to change and not just have it changed for me (sorry, i have no idea how to organize code lines with the code tags on this forum).
other than that, my site's template is ready to go and i've got a pretty good hold over how to use artiseer. thanks to everybody on the forum that's helped.
|
|
Gina
|
Hi Adam,
Instead of <div class="art-header">
Use this:
<div class="art-header" onclick="location.href='http://www.yoursite.com/';" style="cursor: pointer;">
|
|
AdamH
|
ty gina, this is like the 5th time you've made my site awesome
|
|
Gina
|
|
|
Wally
|
Thank you Gina!
|
|
Patty
|
Thank you Gina. Works like a charm!
|
|
Chophouse
|
How would this be implemented now? The only instance of art-header in my header.php file reads:
<?php if(theme_has_layout_part("header")) : ?> <header class="clearfix art-header<?php echo (theme_get_option('theme_header_clickable') ? ' clickable' : ''); ?>"><?php get_sidebar('header'); ?>
Thanks
|
|
Bart
|
So simple can life be!
Thx Gina, even Artisteer did not know that.
Quote Gina:
Hi Adam,
Instead of <div class="art-header">
Use this:
<div class="art-header" onclick="location.href='http://www.yoursite.com/';" style="cursor: pointer;">
|
|