End of Support for Joomla 3 - Forum closed
[SOLVED] navbar menu -> jump to #main-content
- magicday.a
- Offline Topic Author
- Fresh Boarder
- Posts: 11
- Thank you received: 0
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.
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.
by magicday.a
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
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
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
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
- magicday.a
- Offline Topic Author
- Fresh Boarder
- Posts: 11
- Thank you received: 0
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.
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.
- magicday.a
- Offline Topic Author
- Fresh Boarder
- Posts: 11
- Thank you received: 0
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.
by magicday.a
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic navbar menu -> jump to #main-content
Posted 4 years 4 months ago #27093Dont show the menu means it will not shown. If you want to show the menu item, please enable this parameterI filled i:
details: URL, #main-content
linktype: css class: scroll, don't show in the menu
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
- magicday.a
- Offline Topic Author
- Fresh Boarder
- Posts: 11
- Thank you received: 0
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.
by magicday.a
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates