- This topic has 14 replies, 4 voices, and was last updated 2 years, 9 months ago by
Fernando.
-
AuthorPosts
-
March 29, 2023 at 2:15 pm #2587841
José Ojeda
Hello, I need the “off-canvas menu” to be a slider and not an accordion. It’s possible? Is there a way or some code that makes it slider?
March 29, 2023 at 2:49 pm #2587877Leo
StaffCustomer SupportHi there,
I’m not sure if I fully understand.
Can you provide an example?
Let me know 🙂
March 29, 2023 at 3:04 pm #2587887José Ojeda
When you open the menu outside the canvas, it shows you the first level items but the second level items (sub-categories) open downwards when clicked with the mouse. I need them to unfold to the side. NOT down.
screenshots:
“look at the names of the images”March 29, 2023 at 6:18 pm #2588005Fernando Customer Support
Hi Jose,
You can try adding this through Appearance > Customize > Additional CSS:
#generate-slideout-menu.main-navigation .main-nav ul.sub-menu.toggled-on { position: absolute; left: 100%; top: 0%; } nav#generate-slideout-menu { overflow: visible; }March 30, 2023 at 6:56 am #2588756José Ojeda
Hello Fernando, Thank you very much. You just made my day.
March 30, 2023 at 7:06 am #2588763José Ojeda
Hello again, I have one last question. How can I leave the “off-canvas menu” icon on the left side as the attached image shows?
thank you!
March 30, 2023 at 9:57 am #2589196Ying
StaffCustomer SupportHi Jose,
To only move the menu icon to the left is not possible, unless we use some CSS to make it
position:absolute, but it’s not a good practice, as it might cause other issues.We can move the search icon and the menu icon together to the left if you want.
Let me know!
March 30, 2023 at 10:15 am #2589235José Ojeda
Hello, it would be a good option to do it with css,
would you have the code? I can modify it later.March 30, 2023 at 10:27 am #2589258Ying
StaffCustomer SupportCan you link us to your site?
March 30, 2023 at 11:03 am #2589318José Ojeda
March 30, 2023 at 11:27 am #2589342Ying
StaffCustomer SupportTry this CSS, it will only work for screen wider than 1025px.
@media(min-width:1025px) { span.menu-bar-item.slideout-toggle.hide-on-mobile.has-svg-icon { position: absolute; left: 0; top:0; } div#primary-menu { margin-left: 8em; } }March 30, 2023 at 1:01 pm #2589452José Ojeda
I am very grateful for your help Ying.
You’re great!!!March 30, 2023 at 5:12 pm #2589655Ying
StaffCustomer SupportYou are welcome 🙂
May 2, 2023 at 11:32 am #2628122José Ojeda
Hello, I have the menu outside the sliding canvas thanks to the CSS code that Fernando gave me in the top answer.
I would like to ask you how I can leave the child menu (sub-menu) as a mega menu with two or three columns.If there is any CSS that you can generate for me, I would greatly appreciate it.
thank you so much
May 2, 2023 at 5:18 pm #2628313Fernando Customer Support
Hi Jose,
That would be a bit complicated because we would also need to consider the sub-sub-menu items. Such a level of customization would be out of our scope of support. It would be best to reach out to a developer regarding this.
-
AuthorPosts
- You must be logged in to reply to this topic.