Hi can anyone help me. In Twentyten Is it possible to position a graphic in the lefthand corner of the browser window as link below. Please note I have already created a child theme.
see this link the logo happens to be in the right hand corner.
Hi can anyone help me. In Twentyten Is it possible to position a graphic in the lefthand corner of the browser window as link below. Please note I have already created a child theme.
see this link the logo happens to be in the right hand corner.
Sorry forgot to say I would like it to be built into theme instead of perhaps adding markup into every page but a constant graphic that behaves in the same way as the example when the browser is resized....thanks
Anything is possible in theory but we'd need to see your site running this child theme first.
I'm working locally at the moment the design is pretty straightforward I just need the logo to behave as the link.
just add the code directly after the body tag into header.php of your twenty ten child theme.
this is the code of your example site:
<a href="http://www.john-west.co.uk" id="logo">John West</a>
and this is the css for it:
#logo
{
display: block;
position: absolute;
top: 0pt;
right: 0pt;
width: 225px;
height: 100px;
text-indent: -9999px;
background-color: transparent;
background-image: url("../stat/john_west.png");
background-repeat: repeat;
background-attachment: scroll;
background-position: 0% 0%;
}
the motto for this:
'besser gut geklaut als schlecht selber erfunden'
Thanks for the code but that's not worked maybe I'm placing it in the wrong place
there is only one place 'direct after the body tag'.
a link to your site, containing your attempt to create this logo in the corner, might help to get you more suggestions.
also, you could paste the code of your file into a http://wordpress.pastebin.com/ and post the link to it here.
This topic has been closed to new replies.