I’m using the Site 5 Webfolio theme. I’d imagine I’m just missing a short, generic piece of code. Please let me know if you need any more information.
have you tried to add the imgage code into the same location where you have removed the searchbar code?
general linked image html code:
<a href="http://linkurl.com"><ing src="http://imageurl.jpg" /></a>
http://www.w3schools.com/tags/tag_img.asp
http://www.w3schools.com/tags/tag_a.asp
Thanks for that. I think what has confused me is that the rest of the code for the header doesn’t seem to reference a file. For example:
#logo {
position:absolute;
top:2px;
left:0px;
color:#FFF;
}
#logo a img{
border:none;
vertical-align:middle;
margin-right:20px;
}
#logo a {
font-size:40px;
font-weight:bold;
color:#ddd;
}
#logo h1 {
margin:0;
padding:0;
font-weight:bold;
}
#logo a:hover {
text-decoration: none;
}
#logo span {
font-size:11px;
padding-top:8px;
text-transform: uppercase;
color:#888;
display:block;
Maybe I need to do what you suggest but reference the library, like this:
#site5top a {
display:block;
width:197px;
height:22px;
text-indent:-9999px;
background:url(library/images/site5_top.png) 0 0 no-repeat;
what you posted is all css code;
you will need to edit header.php of your theme to add the image.
I’ve inserted the code:
<img src="url(library/images/image3037.png)" width="95" height="67" position:absolute; top:2px; right:0px;>
A box has appeared on the website but I haven’t referenced the image properly because it’s coming up with a cross. I also haven’t positioned it correctly, since it’s high in the top left instead of above the menu on the right.
I’ve figured out the path for the file. I just need to sort out the alignment now, thanks.
Would you have any idea how I could align the two images? I’ve tried a few things but the image doesn’t move vertically with any of them.
can you specify how you want the right image to be aligned?
at the moment, it is at the right, at the top, so the yellow writing looks centered vertically.
I added some extra space on the image itself to pad out the top. That’s resolved now, thanks.
I’d like to add in a drop down menu but the default has a high transparency meaning that the slider shows through. I can’t see anywhere in the code to change that. Should I start a new thread for this?