Adding Logo in Simple Blue Theme
Permalink 1 user found helpful
I know this should be simple, but I can't seem to figure it out in the Simple Blue Theme. I simply want to replace the Site Name, with a .gif logo.
I went in and changed the global scrapbook, and that did not work. I have a feeling the problem is isolated to this theme.
Could it be because the PHP in header.php?
Here is the code:
<div id="logo" class="left"><h1><a href="<?php echo DIR_REL?>/"><?php echo SITE?></a></h1>
I have successfully uploaded a logo by modifying the CSS(#page #logo {margin-top: 20px;}), and stripping out <?php echo SITE?>, but then I lose the link function back to the homepage.
Can anyone help?
I went in and changed the global scrapbook, and that did not work. I have a feeling the problem is isolated to this theme.
Could it be because the PHP in header.php?
Here is the code:
<div id="logo" class="left"><h1><a href="<?php echo DIR_REL?>/"><?php echo SITE?></a></h1>
I have successfully uploaded a logo by modifying the CSS(#page #logo {margin-top: 20px;}), and stripping out <?php echo SITE?>, but then I lose the link function back to the homepage.
Can anyone help?
option 1
edit <?php echo SITE ?> to
This will allow you to place an image of your choice ie logo, using the image block. Leaving the <a href> in place means anything in that area will link back to the home page. Alternatively you can delete the <a href> and use the link option when placing an image block.
To place the image as a default for each new page:
1. go to the dashboard > Pages & Themes > Page Types
2. click on the Defaults button
3. anything set within default pop up window will be there on each new page creation
option 2 (the easiest - but least customisable)
move the <a href> to surround the <div id="logo">. Currently there is nothing within the <a href> and hence when you click on the div with a background image nothing is happening. If you surround the div with <a href> you are saying that when ever someone clicks on the div go to x page. You can see this result by using fire bug or safari's develop mode.
Hope that helps