go41

Re: Make the 800×60 banner on Arthemia (Free) a clickable link? :: Reply by master

von Joern am 8. Mrz. 2010 | Keine Kommentare

in original arthemia’s header.php you should find this:

Code:

<div id="head" class="clearfloat">

<div class="clearfloat">
   <div id="logo" class="left">
   <a href="<?php echo get_option('home'); ?>/"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/logo.png" width="177px" height="39px" alt="" /></a>
   <div id="tagline"><?php bloginfo('description'); ?></div>
   </div>

   <div class="right">
   <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/banners/wide.jpg" alt="" width="468px" height="60px"  />
   </div>

</div>

in div id logo there is your homepage linked to the image logo.png

div class right just shows wide.jpg without linking to something
This whole part of header.php you have to edit. Your logo is 800x60px, so you should delete the size values width="468px" height="60px". You also should delete the complete div class right to give space for your new wide logo. The tagline part shows your sites description as text under the logo, you are free to delete this line too.

Try to make the part I give you above to look like this:

Code:

<div id="head" class="clearfloat">

<div class="clearfloat">
   <div id="logo" class="left">
   <a href="<?php echo get_option('home'); ?>/"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/logo.png" alt="" /></a>
   <div id="tagline"><?php bloginfo('description'); ?></div> <!-- you are free to delete this blog description line -->
   </div>

</div>

finally there is an entry in style.css setting the width of div id logo to 350px, you might have to change this to 800px or just leave it empty. In style.css here:
Code:

#logo {

width:350px;

}

The logo image is clickable by default because of this a href link to home (get_option(‚home‘) around it.
____________________
you find me on Google+, Twitter and Facebook

(von: master)

Hier noch 3 weitere Ergebnisse dieses Threads:

Make the 800×60 banner on Arthemia (Free) a clickable link?

8. Mrz. 2010 (von: pure241)

I'm sure I can figure out how to change the image it's self but how do I make that image a clickable link? Weiterlesen →

Re: Make the 800×60 banner on Arthemia (Free) a clickable link? :: Reply by pure241

9. Mrz. 2010 (von: pure241)

Thanks for the quick reply. It's actually the wide.jpg that I want to make linkable. I want the logo.png banner to remain intact. Does the same code apply?Secondly, if the wide.jpg size varies, which variables in the code do I…

Re: Make the 800×60 banner on Arthemia (Free) a clickable link? :: Reply by master

9. Mrz. 2010 (von: master)

actually similar, put a link as for the logo around wide.jpg and delete there the entries for width and height. Now the replacement for wide.jpg will take as much place as it needs.I am sure it will jump below the…

Autor:

Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: