[Resolved] How to add second logo to primary (sticky) navigation menu

Home Forums Support How to add second logo to primary (sticky) navigation menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #963262
    elusive2k

    Hello,

    I am using GPP, and I would like to add a secondary logo to the primary navigation (also sticky) menu.
    I am currently having the logo to the left of the navigation menu, but I would also like to add one to the right of the navigation menu.
    I have the possibility to FTP/PHP -fiddle with it, but I can not find where this is generated within the parent theme.
    Hoping you can help me out on this.

    Thanks for now,

    Kumar

    #963693
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You could try this:

    1. Create a new Hook Element: https://docs.generatepress.com/article/hooks-element-overview/
    2. Set the hook to inside_navigation
    3. Add your HTML to the content:

    <div class="secondary-logo">
        <img src="URL TO YOUR LOGO" alt="" />
    </div>

    4. Set your Display Rules and publish.

    Then add your CSS:

    .secondary-logo {
        float: right;
    }

    Let me know if that gets you started or not 🙂

    #963944
    elusive2k

    Hi Tom,

    Thanks for your quick response.
    This was indeed what I was looking for and its working now as I wanted to.
    Thanks for informing me about this hooks/elements functions, never used this before but seriously Great feature 🙂

    p.s.: I wanted to give you props for creating this great, lightweight, highly customizeable theme 😀
    p.s.s.: Hope you can give your daughter a great college education 😉

    Thanks again, kind regards,

    Kumar

    #964335
    Tom
    Lead Developer
    Lead Developer

    Awesome, glad it helped!

    Thank you! Really appreciate it 🙂

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