WordPress.org

Support

Support » Themes and Templates » [Resolved] logo and header titel

[Resolved] logo and header titel

  • Hi,
    I would like to include my logo on the right upper corner and have the title appear in the middle of the header, can you please tell me which code to include and where?
    I would like to “smaller the band of the header and the navigation menu on the top of the page.
    Thanks for your help
    my web site is: http://www.destresser.org

Viewing 3 replies - 1 through 3 (of 3 total)
  • mrtom414
    Participant

    @mrtom414

    you can float your image to the right
    .site-title span img{float:right;padding:0;margin:0;}
    The image is embedded in the h1 tags for your title.
    If you want to move it outside of the h1 tags and up you will probably have to use top: with a negative number;

    Thank you very much, it works great.
    did need to enter negative number for the top: it took over the size of the title bar or the title bar adjusted to the image – which ever.
    Just another question: to smaller the whole title area what can I do?
    Thanks so much for your precious help.
    Best regards

    mrtom414
    Participant

    @mrtom414

    It would be hard to make it smaller. Your header is the same size as the height of your image.

    1) To make it smaller you would have to decrease the height of your image or

    2) you would have to set the image to position:absolute so it floats above header.
    You would also have to make site-title position:relative to keep the image relative to your container.
    the image would also have to be set to left:0 so align it to the left and the h1 tag would to to be align:center or align:right so the image doesn’t cover it up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] logo and header titel’ is closed to new replies.