[Resolved] Can I add an image beside logo using CSS?

Home Forums Support [Resolved] Can I add an image beside logo using CSS?

Home Forums Support Can I add an image beside logo using CSS?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #221271
    James

    Hi Tom,

    My client wants a small award image (150×100) beside the logo, or, rather centered between logo and header widget. Its circled in red here: https://postimg.org/image/fjy01f8xb/

    Any way to do this?

    Thanks,
    Jim

    #221280
    Tom
    Lead Developer
    Lead Developer

    Hi Jim,

    You could try something like this:

    Add your image in the “After Header Content” hook in GP Hooks:

    <div style="text-align: center;">
        <img src="URL TO YOUR IMAGE" alt="" />
    </div>

    Then float your logo to the left:

    @media (min-width: 769px) {
        .site-logo {
            float: left;
        }
    }
    #221361
    James

    You are DA MAN!
    Works perfect – thanks Tom

    #221363
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.