StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Make Logo Link To Homepage (http://www.studiopress.com/support/showthread.php?t=9789)

NateP 06-14-2009 06:39 PM

Make Logo Link To Homepage
 
How can I make my logo also be a link back to my homepage?

Can someone provide standard code to do this and where to access it?

Thanks,

Nate

Debra 06-14-2009 06:43 PM

Re: Make Logo Link To Homepage
 
do you have a link to your site?

NateP 06-15-2009 08:28 PM

Re: Make Logo Link To Homepage
 
Sorry. It's www.natesonfire.com

Debra 06-15-2009 08:50 PM

Re: Make Logo Link To Homepage
 
go to your style sheet change

.headerleft {
width: 460px;
float: left;
font-size: 14px;
margin: 0px;
padding: 0px;
}



.headerright {
width: 488px;
float: right;
margin: 0px;
padding: 45px 0px 0px 0px;
}
to

.headerleft {
width: 960px;
float: left;
font-size: 14px;
margin: 0px;
padding: 0px;
}



.headerright {
width: 0px;
float: right;
margin: 0px;
padding: 45px 0px 0px 0px;
}

now open header php and change what you have to this

Code:

<div id="header">

        <div class="headerleft">
                [img]<?php bloginfo('template_url'); ?>/images/logo.png[/img]" />
        </div>
       

               
        <div class="headerright">

        </div>

</div>

rename your image logo.png now your banner should be a link

NateP 06-16-2009 06:07 PM

Re: Make Logo Link To Homepage
 
Hi Debra,

Thanks for the reply. I have a few questions before I do that. My headerleft code does not look like what you described. Mine looks like this:

.headerleft {
width: 460px;
float: left;
font-size: 14px;
margin: 0px;
padding: 0px;
}

.headerleft a img {
border: none;
margin: 0px;
padding: 0px;
}

Should I still change it to what you suggested?

Also, you said to rename my logo. I'm not sure if I understand what I should do about that part. Can you clarify?

Thanks you,
Nate

NateP 06-20-2009 09:40 PM

Re: Make Logo Link To Homepage
 
Can anyone clarify this question please?

Thanks,

Nathan

Debra 06-21-2009 06:05 AM

Re: Make Logo Link To Homepage
 
I left that out so as not to make it complicated as that has nothing to do with the process. Just go ahead

NateP 06-21-2009 10:51 AM

Re: Make Logo Link To Homepage
 
Hi Debra.

I tried it, but it just put the Church Theme logo on top of my logo.

I'm not sure what's wrong?

Debra 06-21-2009 11:18 AM

Re: Make Logo Link To Homepage
 
to reiterate

rename your image logo.png now your banner should be a link

NateP 06-21-2009 01:09 PM

Re: Make Logo Link To Homepage
 
I'm sorry for the confusion. This is my first blog and I have no programming experience.

I understand changing my image, but I have not clue where it is. I tried right clicking on my logo to get the path, but it doesn't show up.

Does anyone know how to find the path where my logo is? I tired going into the images folder, but I can't find it. Is there a default path where this would be in uploaded.

Most of what I find is default wordpress images. I don't understand why I can't right click on the image and fine the path.

Any clues?

Debra 06-21-2009 07:38 PM

Re: Make Logo Link To Homepage
 
ok lets try and make this easier

1. open header.php

2 find
Code:

  <div class="headerleft">
      [img]<?php bloginfo('template_url'); ?>/images/logo.png[/img]" />
  </div>

3 copy the code below and replace the above code

Code:

  <div class="headerleft">
      [img]<?php bloginfo('template_url'); ?>/images/header.png[/img]" />
  </div>

4. save file

NateP 06-21-2009 09:51 PM

Re: Make Logo Link To Homepage
 
That worked.

Thank you.

Nate


All times are GMT -5. The time now is 10:15 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.