Site logo

Archived topic

Generate inside navigation - css

18 replies · Started by Ketil on January 3, 2023

Viewing posts 1–15 of 19

Hi. Trying to use elements to put links in the main navigation, using "generate inside navigation". The links that appears in menu has no padding/margin, like the regular menu items, do I need to apply a class to my links for this?

Hi there,

can i see the site ?

Currently doing changes, so you will have to log in

Yes, some links are for one usergroup, other links are for a different usergroup (elements have settings to display per usergroup, I don't know how to do this in other manner).

How do I show links in menu to just one usergroup using buttons from GB?

How is it done currently?

the links are elements, with settings for visibility, the site is used by two usergroups. works perfect, but I thought perhaps hooking a link into the main menu using elements/hooks would also apply the style set for the main menu in theme. it seems it doesn't, but I'll figure it out, the only issue is the missing padding/margin, making the links a bit hard to read.

the links are elements, with settings for visibility

If you are referring to the display rules here then using the block element should have no differences.

but I thought perhaps hooking a link into the main menu using elements/hooks would also apply the style set for the main menu in theme.

No - that would not be a good idea as most people are adding content that is not menu items with that hook.

ok, I'll figure out the css to fix

Sounds good.

One more thing I noticed, linked placed in main menu doesn't show in mobile menu, is there any fix for that?

Hi there,

where can i see the issue ? Can you share a link to the site.

NOTE: When a topic is resolved the system auto deletes any private information.

Hi. Link provided, you need to log in to see the menu change.

This archived topic is closed to new replies.