Problems with menu

2 replies · opened Jun 14, 2023

RrepsanmarcoJun 14, 2023

Hi I create a canva onepage template using demo-real-estate
On mobile version when I click on the items of the menu, the menu doesn't disappear.

Another problem: when I click on the menu item, it doesn't give me the correct position, but a few pixel lower.
Thanks

RrepsanmarcoJun 15, 2023

I correct the position after the click by adding this code to section
margin-top:-120px; padding-top:120px

At the moment I don't find the solution to close the mobile menu after a click

SSemicolon WebSTAFFJun 16, 2023

Hello,

Apologies for the Inconveniences caused!

The Codes you are using are incorrect for the One Page Menus. Consider using the following replacing the old codes:
[ch_pre]

The Offset will set automatically based on the Sticky Menu Position or you can also define your Custom Offsets using:
[ch_pre][/ch_pre]

or Individually for the Menu Items:
[ch_pre]

Using the Above Codes should also close the Menus on Scroll on Mobile Devices. Consider check the Live Previews here: https://canvastemplate.com/op-index.html .

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard