End of Support for Joomla 3 - Forum closed

[SOLVED] navbar menu -> jump to #main-content

navbar menu -> jump to #main-content was created by magicday.a

Posted 4 years 4 months ago #27071
Hi,
I would like to change the entries in the navbar menu (by adding '#main-content' to every link). I find it's a little bit confusing that by clicking the link, it doesn't jump to the start of the article but to the very top of the site.

Where can I add this in the template files? I'm familiar to HTML, css and php but not to the complete structure of joomla templates.
I would be glad if you could help me.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic navbar menu -> jump to #main-content

Posted 4 years 4 months ago #27079
Hello,
1.) Live Url please
2.) Kazumi has no entry in the navabr to jump to the #main-content
3.) You can setup the scroll to function like this
demo.joomlaplates.com/jp_perfect/theme-f...ooth-scroll-function

Please Log in or Create an account to join the conversation.

Replied by magicday.a on topic navbar menu -> jump to #main-content

Posted 4 years 4 months ago #27081
Thank you.

Hmm... It doesn't work like that.
magicdaya.com/index.php/de/

I set up a new menu item called "scroll to main content" and added it to the german main menu. I would create new items for the english main menu and the two offcanvas menus.

I filled i:
details: URL, #main-content
linktype: css class: scroll, don't show in the menu

Did I forget anything?
Thank you.
Last Edit:4 years 4 months ago by magicday.a
Last edit: 4 years 4 months ago by magicday.a.

Please Log in or Create an account to join the conversation.

Replied by magicday.a on topic navbar menu -> jump to #main-content

Posted 4 years 4 months ago #27091
Hi, sorry, what does "Live URL mean?" Thank you.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic navbar menu -> jump to #main-content

Posted 4 years 4 months ago #27093

I filled i:
details: URL, #main-content
linktype: css class: scroll, don't show in the menu

Dont show the menu means it will not shown. If you want to show the menu item, please enable this parameter

Please Log in or Create an account to join the conversation.

Replied by magicday.a on topic navbar menu -> jump to #main-content

Posted 4 years 4 months ago #27094
Thank you. I misunderstood the functioning of that menu item.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License