- This topic has 18 replies, 4 voices, and was last updated 3 years, 3 months ago by
Ketil.
-
AuthorPosts
-
January 3, 2023 at 8:38 am #2482360
Ketil
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?
January 3, 2023 at 9:49 am #2482476David
StaffCustomer SupportHi there,
can i see the site ?
January 3, 2023 at 9:54 am #2482483Ketil
Currently doing changes, so you will have to log in
January 3, 2023 at 11:27 am #2482553Leo
StaffCustomer SupportIs there a reason why you are not using the default navigation system and creating it manually?
This does not make any sense at all:
https://www.screencast.com/t/xxxyvCsTJanuary 3, 2023 at 11:38 am #2482565Ketil
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).
January 3, 2023 at 11:40 am #2482569Leo
StaffCustomer SupportHave you considered using the buttons block from GB?
https://docs.generateblocks.com/article/buttons-overview/It would be the easiest solution if you aren’t too familiar with HTML and CSS.
January 3, 2023 at 11:42 am #2482572Ketil
How do I show links in menu to just one usergroup using buttons from GB?
January 3, 2023 at 1:21 pm #2482695Leo
StaffCustomer SupportHow is it done currently?
January 3, 2023 at 1:36 pm #2482712Ketil
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.
January 3, 2023 at 5:35 pm #2482880Leo
StaffCustomer Supportthe 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.
January 3, 2023 at 5:41 pm #2482882Ketil
ok, I’ll figure out the css to fix
January 4, 2023 at 10:47 am #2483778Leo
StaffCustomer SupportSounds good.
January 15, 2023 at 3:53 am #2496044Ketil
One more thing I noticed, linked placed in main menu doesn’t show in mobile menu, is there any fix for that?
January 15, 2023 at 8:49 am #2496397David
StaffCustomer SupportHi 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.
January 15, 2023 at 9:03 am #2496409Ketil
Hi. Link provided, you need to log in to see the menu change.
-
AuthorPosts
- You must be logged in to reply to this topic.