Zidalgo Wordpress Forums | Replace Text with Logo

You must be logged in to post Login Register

Search Forums:


 






Replace Text with Logo

UserPost

12:25 pm
April 19, 2009


Kat

New Member

posts 1

1

How would I go about adding my logo instead of showing the blog name as text?


TIA!

8:47 pm
April 23, 2009


admin

Admin

posts 173

2

Hi Kate,

Sorry for the delayed response. To add your logo, simply open the header.php file, and replace the current code

<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?><span></span></a></h1>

with

<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><img src="path-to-your-image" alt="<?php bloginfo('name'); ?> /></a>

8:51 pm
April 29, 2009


PublicMic

Member

posts 12

3

When I upload a logo per the directions above my header formatting gets messed up.  Are there image parameters I should adhear to?


Thanks!

2:13 am
April 30, 2009


admin

Admin

posts 173

4

Is there an example somewhere I can see? If not can you post the html you are using to try and get the logo image to display?

6:36 am
January 28, 2010


kimurense

Member

posts 5

5

Hi Guys, I have the same anoying problem… Try it with the text you just gave here and you will see it doesn't really work, the header goes all over the place.


I have to say, this theme is pretty hard to work with. I bought it because  "Theme can easily be customized via well commented CSS and HTML template files" I have found it very hard to work with, although the support has been good, my previous theme was 100x easier to work with.


I guess my website probably has some peculiarities that I didn't account for, being kind of new to this.


Don't mean to bash your work here, but it has been a tough journey :-(


 I also found that my RSS feed is pointing to one of your sites if I don'thave my rss readyto ad to the site, which I find a bit cheeky.
     


6:59 am
January 28, 2010


kimurense

Member

posts 5

6

here is how it looks

logo problems

5:05 pm
January 28, 2010


kimurense

Member

posts 5

7

Post edited 1:32 am – January 29, 2010 by kimurense


managed to keep the format by replacing this:


<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?><span></span></a></h1>


By this:


<h1><img src="YOUR IMAGE URL HERE"/><span></span></a></h1>

The reason why your code doesn't work (from what I could gather), is because there are no <span> tags, and you have a layer holding the picture, thus the span is necessary.


This took me pretty much all day to figure out… The pic isn't linking to the home page right now, that should be easy to accomplish though, and it isn't showing fully (there are about 10px missing at the bottom of the pict.. but at least it is not unformating everything.

Hope I can get a little more insight from the guys here as my solution isnt optimal

3:14 am
January 29, 2010


admin

Admin

posts 173

8

Hi,


Can you post a link to your site.


b

5:19 am
January 29, 2010


kimurense

Member

posts 5

9

Hi, yes… I believe you already have it, as we discussed a little over email


http://www.bjjheroes.com


Thanks