Site logo

Archived topic

How to add second logo to primary (sticky) navigation menu

3 replies · Started by elusive2k on July 21, 2019

Viewing posts 1–4 of 4

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

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 :)

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 :D
p.s.s.: Hope you can give your daughter a great college education ;)

Thanks again, kind regards,

Kumar

Awesome, glad it helped!

Thank you! Really appreciate it :)

This archived topic is closed to new replies.