Problem Solved: Header Logo For Picture Perfect!!

Everything else!

Problem Solved: Header Logo For Picture Perfect!!

Postby Keenan » Tue Aug 16, 2011 8:40 pm

I finally was able to figure out how to get the image of my logo in the header in picture perfect:

First - copy that whole header file that you currently have and save it on a notepad/wordpad or something, so if any changes don't work properly - at least you can go back to the way it looks now!

Go into the header.php and look for this section:

<div id="welcomeheading">
<h1><a href="<?php bloginfo('url'); ?>/">
<?php $replacethese = array('[',']');
$replacewith = array('<span id="middleword">','</span>');
echo str_replace($replacethese, $replacewith, get_bloginfo('title')); ?>
</a></h1>
<div id="description"><?php bloginfo('description'); ?></div>
</div>
__________________________________________________
delete this:

<?php $replacethese = array('[',']');
$replacewith = array('<span id="middleword">','</span>');
echo str_replace($replacethese, $replacewith, get_bloginfo('title')); ?>


and replace it with: <img src="INSERT THE WEB ADDRESS TO YOUR WEBSITE/INSERT THE LINK TO THE IMAGE HERE"></img>
(Make sure that the </a> comes after the </img> closing tag.) What this will do is put the image there and make it clickable back to the home page of the blog.

Here's what that looks like:

<img src="www.abcwebsite.com/wp-content/themes/picture-perfect/imagemenu/images/watermark-web.png"></img>

The reason why you put your web address in there is so that your logo shows up on every page of your website, if that's what you want.

MY WEBSITE: http://ARTWORKSBYKEENAN.COM
Last edited by Keenan on Sun Sep 25, 2011 1:22 pm, edited 1 time in total.
Keenan
Legend!
 
Posts: 12
Joined: Mon Aug 08, 2011 6:21 pm

Re: Problem Solved: Header Logo For Picture Perfect!!

Postby ShocK » Tue Aug 30, 2011 8:52 am

Excellent - only problem I have is with centering, please take a look if you have time
http://slang.comoj.com/

Thanks

John
ShocK
Legend!
 
Posts: 10
Joined: Wed Aug 24, 2011 5:04 pm

Re: Problem Solved: Header Logo For Picture Perfect!!

Postby Keenan » Wed Aug 31, 2011 2:17 am

Hey John,
You have to go into the Style.css and near the top you're gonna see this: [img]
Capture.JPG
[/img]
Where it says "margin left" you have to mess with that number. As you see, my logo is 660px from the left side, landing it in the middle of the page. I ended up not using this theme anymore though. I really didn't want to give it up, but it was giving me to many problems so I switched to this one: http://www.artworksbykeenan.com

Hope it works out for ya
Attachments
Capture.JPG
Capture.JPG (14.63 KiB) Viewed 4377 times
Keenan
Legend!
 
Posts: 12
Joined: Mon Aug 08, 2011 6:21 pm

Re: Problem Solved: Header Logo For Picture Perfect!!

Postby ShocK » Wed Aug 31, 2011 9:31 am

Thanks Keenan, will try later and post back - maybe put the whole thing together in one post - seems to be a lack of support here

Added - Sorted and thanks :D
ShocK
Legend!
 
Posts: 10
Joined: Wed Aug 24, 2011 5:04 pm

Re: Problem Solved: Header Logo For Picture Perfect!!

Postby Keenan » Thu Sep 01, 2011 2:35 am

Cool!!!
Keenan
Legend!
 
Posts: 12
Joined: Mon Aug 08, 2011 6:21 pm


Return to Announcements and General Support for Slidingdoor Themes