Site logo

Archived topic

How to add text next to secondary menu

7 replies · Started by FunkyCss on August 3, 2021

Viewing posts 1–8 of 8

Hey there ,

I would like to add a text on the left side of the secondary menu , how is this possible.

If i create a top bar widget with text and menu is easy but there will not work the submenu nav, so there is no way with GP to make that.

Any solution on this one ?

Hi there,

there is the generate_inside_secondary_navigation hook to place content inside the secondary nav container. Would require some CSS to position it. Or alternative if its only required on Desktop is to add the text as a Menu Items without any link.

Hi David, thank you for your fast reply, never thought of the hook , yeah this does the trick , I will add some css to fix that!

Thanks!! <3

Glad to be of help

Hello David, something very strange is happening with that secondary menu,

So I created my Hook with this class .top-bar-first-element

And added my css if you see bellow and it was working fine, after a couple ( Regenerate CSS files ) the text is going up and not as it should be, i have send you my link to take a look if is possible.

.top-bar-first-element {
padding-top:10px;
margin-left: 0vh;
margin-right: 0vh;
}

I cant see that element on the site ?

I was trying that moment to see an alternative , now is live if you hard refresh

If i uncomment the CSS you have added then i can see it add the top padding.
So this stops working sometimes ? If so it sounds like a cache needed clearing.

This archived topic is closed to new replies.