[Resolved] Second Image in Header

Home Forums Support [Resolved] Second Image in Header

Home Forums Support Second Image in Header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #135199
    Alexander

    Hi,

    how can i place a second Image in the Header?
    For Example, the Logo on the left Side and a Hotline-Image at the right Side.

    Alex

    #135208
    Jean Paiva
    Developer

    Hello Alexander,

    you can do this with your Header Widget. Go to Appearance > Widgets > Header
    You can add a text widget and place your image inside. Just add this to your text widget:

    <img src="http://youimagelink.com/image.png">

    #135210
    Alexander

    Hi Jean,

    many thanks for the Info, this works!

    One more Question: On Mobile, the Widget stands above the Logo. What can I do that the Widget appears under the Logo?

    Alex

    #135211
    Jean Paiva
    Developer

    You can try this:

    1. Go into the Customizer, and remove your logo.
    2. Go into “Appearance > GP Hooks” and into the “Before Header Content” area.
    Paste this into the area:

    <div class="site-logo">
          <a rel="home" title="YOUR WEBSITE TITLE" href="YOUR HOMEPAGE URL"><img title="YOUR WEBSITE TITLE" alt="YOUR WEBSITE TITLE" src="THE URL TO YOUR IMAGE" class="header-image"></a>
    </div>
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.