Topic: Images in header/ad text not saving

I have two questions.

I am having issues with the header advert code saving and displaying the advert.  I have the latest version of the theme thanks to Jason.  But this problem persists,

I also want to add three certification logos to the far right hand side of the header but have no idea how to do this, can any one give me some advice?

Last edited by PhilH (07.02.2009 08:35 pm)

Re: Images in header/ad text not saving

This was an issue with 2.3, but was fixed with 2.3.1. Are you sure you are using 2.3.1?

Re: Images in header/ad text not saving

Looks like it's 2.3
Can I get 2.3.1 link via email please?

Also, any hints on adding two small logos to the header on the right?

Re: Images in header/ad text not saving

Just sent you a link to the latest version. If I have a little more time later today I will answer you customization question.

Jason

Re: Images in header/ad text not saving

Thanks Jason, link received and 2.3.1 now working correctly.

Re: Images in header/ad text not saving

To add the small logos to the header on the right, you'll have to edit the header.php and style.css files. Let's start with header.php.

Right around line 60 you'll find this:

<div id="textlogo">
<h1 id="branding"><a href="<?php echo get_option('home'); ?>/" title="Home" ><?php bloginfo('name'); ?></a></h1>
</div>
<?php endif; ?>

Immediately following that is where you want to add your code for the logos. For example:

<div id="headerlogos">
<img src="thepathtoyourfirstimage.jpg" alt="alternative text" />
<img src="thepathtoyoursecondimage.jpg" alt="alternative text" />
</div>

Replace the "thepathtoyour..." with the path to your logo file. Next, replace the alternate text with your own.

Now go to your style.css file and add this (it doesn't really matter where you put it, as long as it's below the theme info at the top of the file).

#headerlogos{float:right;}
#headerlogos img{float:left; padding:0xp 10px;}

You can play around with the padding. The first number controls how much space is above and below the image and the second number controls how much space to the left and right.

That's a pretty general overview of what you'll need to do. Let us know if you need any other specifics.

Re: Images in header/ad text not saving

Alex,

Thank you for taking the time to explain that to me.  I tried it out, but with the header advert there I couldn't get it to look right, so have decided to leave the logos for the time being.  Thanks again!