need help putting clickable logo in wordpress header
-
Hello.
I’ve been trying to place a new logo in my header so that it is clickable from any page, which will return it to the main page https://www.dwazzle.com. I can’t seem to find any tutorials on doing this.my header.php file currently contains just my title and tagline…
</head>
<body>
<div id=”wrapper”>
<div id=”header”><span class=”blogname”>“><?php bloginfo(‘name’); ?></span>
<span class=”blogslogan”><?php bloginfo(‘description’); ?></span></div><!– END HEADER –>
in my stylesheet file I have
#header {
background-color: #FFFFCC;
height: 160px;
border-bottom: 1px solid #336699;
padding: 0;
}also in the stylesheet file is…
/* Hyperlinks Inside The Header */
#header a {
color: #333366;
text-decoration: none;
}#header a:visited {
color: #333366;
text-decoration: none;
}#header a:hover {
color: #336699;
text-decoration: none;
}but I don’t think I change that. Yes/no?
so I tried this in my header.php file
<div id=”header”>
<a href=<img style=”float: left”
src=”wp-content/repreview.jpg” alt=”News”></div><!– END HEADER –>
nothing showed up.
also tried…
</head>
<body>
<div id=”wrapper”>
<div id=”header”><img src=”wp-content/repreview.jpg”> style=”float: left”
</div><!– END HEADER –>
shows the image only on main page.
I’ve tried this in the stylesheet too…
#header {background: #ffffcc;
border: solid 1px #000;
margin: 0;
}width=”475″ height=”152″ refer to my image. Do I need to add those in somewhere?
I’ve been reading, https://codex.www.ads-software.com/Designing_Headers, but not on the right track yet.
any assistance would be appreciated.
- The topic ‘need help putting clickable logo in wordpress header’ is closed to new replies.