If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
July 14, 2011 at 7:44 pm #5044
How do I make our logo point to another website? It currently points to our homepage. I would like to change the websites when I can. :)
Also, how do I change the background? What is the width size of the main area? What size does the background have to be, if it’s a fixed one (and one that doesn’t repeat)?
How would I go about making it not repeat, so it’s just a large background? I apologize for all the questions, haha, but I’m sorting out a background advert for a friend of mine.
My website is:
DavenJuly 15, 2011 at 5:24 am #48627
1) In header.php search for:
<h2 class="logo ie6fix <?php echo $logoclass; ?>"><a href="<?php echo get_settings('home'); ?>/"><?php echo $logo; ?></a></h2>
<?php echo get_settings('home'); ?>
with any website url you like (i.e. http://google.com )
2) The main area has a width of 1000px (with 960px for the content). For style/skin 1 the background is definded with:
background: url("../images/skin1/bg_tile.png") repeat-x scroll left top #FFFFFF;
If you want to use a fullwidth background I can’t tell you exact dimensions because it depends on the screen resolution. To be on the save side you can use the repeat attribute. If you want to set the background to fixed and no repeat use:
background: url("../images/skin1/bg_tile.png") no-repeat fixed left top #FFFFFF;July 15, 2011 at 7:39 pm #48628July 16, 2011 at 5:28 am #48629July 16, 2011 at 10:25 pm #48630
Could you kindly tell me how to install an extra advert spot? Sort of like a banner to the right of our banner (it might require extra code :S).
DavenJuly 17, 2011 at 12:42 am #48631
When you go in header.php and find the line you previously edited add the following behind the </h2> tag at the end of that line.
<div class="advert">Your content here</div>
And put the following in your style.css file:
You can play around with the margins to position it.July 18, 2011 at 9:50 pm #48632
Thank-you for your response. I tried this but the advert image appeared on our logo/banner. How would I make it appear to the right under the search bar?
DavenJuly 19, 2011 at 6:26 am #48633
I’d use absolute positioning like:
Now adjust the top and the right value to your needs.July 19, 2011 at 5:32 pm #48634July 19, 2011 at 5:32 pm #48635
Oh, one more quick thing, is there any way to make it so when you hover over the image it has that grey outline? Sort of like what happens when you hover over the images on our sidebar.
If not, that’s fine. :)
DavenJuly 19, 2011 at 5:51 pm #48636
The topic ‘Point Logo to Another URL? – [HELP]’ is closed to new replies.