Logo right from site title – Hooks?

Home Forums Support Logo right from site title – Hooks?

Home Forums Support Logo right from site title – Hooks?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #153713
    Philip

    Hi,

    I would like to have my logo right from the site information. Is it possible to do this with GP Hooks? I would appreciate if you have the right piece of code.

    Greetings
    Philip

    #153781
    Tom
    Lead Developer
    Lead Developer

    Maybe this CSS will help:

    .site-logo {
        float: right;
    }

    Let me know ๐Ÿ™‚

    #153948
    Philip

    Thanks for answering that fast!

    Unfortunately I have almost no experience at all in coding. Where exactly does this code have to be pasted?

    Greetings
    Philip

    #154002
    Tom
    Lead Developer
    Lead Developer

    This should help: https://generatepress.com/knowledgebase/adding-css/

    Let me know ๐Ÿ™‚

    #154216
    Philip

    Thanks Tom,

    Code works fine, thanks for the hint! Figured out how to get the site information and the logo side by side:

    .site-branding {
    	float: left;
    }
    
    .site-logo {
    	float: right;
    }

    but the site title seems to be aligned on top. How do I give them the same space right above the main navigation?

    Greetings
    Philip

    #154249
    Tom
    Lead Developer
    Lead Developer

    Any chance I can see what you mean?

    You can move the site title down with this:

    .site-branding {
        margin-top: 5px;
    }
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.