Community forum for knowledge and support

Updated 11 months ago

Close Menu When Choosing Certain Links

At a glance

A community member is having trouble getting their menu (navbar2_menu) to close when the "Our services" and "FAQs" links are clicked on tablet and mobile devices. Another community member suggests using the native Webflow sections UI, and if the site only has two pages (homepage and contact), to use component properties on the navbar to change the navigation to use /#faq and /#services URLs that link back to the home page and the relevant sections. The original community member confirms that the issue is now resolved thanks to the help provided.

Useful resources

Hi all, does anyone know how to get my menu (navbar2_menu) to close when these menu links are chosen by the user,: Our services and FAQs? (On tablet and mobile). Thanks ! https://preview.webflow.com/preview/vibrantfm?utm_medium=preview_link&utm_source=desig[…]m&preview=c0f1c00323e7162d20ed17ef4b46a485&workflow=preview

M
L
2 comments

the reason its not closing is because you are not using the native webflow sections UI (see screenshot) however I'm sure the reason you are not using this is because you have another page. If all you are going to have is two pages - 1 homepage and 1 contact page, I would look into using component properties on the navbar to change the navigation to use /#faq /#services URLs that link back to home and to the right sections, but for the homepage, use the section feature for the homepage.

Nice. Thankyou. It's working now! Thanks for your help!

Add a reply
Sign up and join the conversation on Slack