• 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.

    https://www.john-west.co.uk/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Mark Shirley

    (@ravalde)

    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.

    Thread Starter Mark Shirley

    (@ravalde)

    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="https://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’

    Thread Starter Mark Shirley

    (@ravalde)

    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 https://wordpress.pastebin.com/ and post the link to it here.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Graphic in left hand corner of twentyten browser window’ is closed to new replies.