- This topic has 7 replies, 2 voices, and was last updated 3 years, 4 months ago by
David.
-
AuthorPosts
-
December 12, 2022 at 9:14 am #2459311
Betsy
I’m trying to hide the off canvas close button – I can do it in chrome but not safari.
See
https://harrstudios.com/contact/If you click on the menu toggle – you get the menu but the close doesn’t work (the toggle that does work is right justified and hidden)
December 12, 2022 at 10:06 am #2459392David
StaffCustomer SupportHi there,
try this CSS:
#generate-slideout-menu { pointer-events: none; } #generate-slideout-menu .main-nav { pointer-events: auto; }December 12, 2022 at 10:18 am #2459415Betsy
that worked but the toggle reverses – it switches between the X and the bars.
https://harrstudios.com/home/?111December 12, 2022 at 10:25 am #2459424David
StaffCustomer SupportYeah you may create issues here when it comes to Mobile devices. As the two menu scripts will clash.
Any reason why you’re using the Off Canvas ?
You could simply use the default Mobile Menu, and set the Customizer > Layout > Primary Nav -> Mobile Menu Breakpoint to a really high value eg.100000so it always display?It will still take a little CSS for your style. But it won’t cause you these issues and won’t require the extra code of off canvas.
Let me know what i am missing ?
December 12, 2022 at 10:28 am #2459427Betsy
The menu design is an overlay in the center instead of a slideout from the right.
It just was coming together better as the off canvas.December 13, 2022 at 5:19 am #2460330David
StaffCustomer SupportCan you share what CSS you have used so far ?
December 13, 2022 at 7:11 am #2460444Betsy
Here’s everything I have pertaining to the menu. – I’ve been throwing a lot of mud at it.
/*menu*/
.main-navigation.offside {min-width:500px}
.main-navigation.offside .sub {line-height:30px}
.main-navigation.offside .sub a{font-family: ‘Arimo’;font-size:11px;padding-left:60px;letter-spacing:.0em;line-height:10px!important;}
.main-navigation.offside .extraspace {padding-top:10px;}
.main-navigation.offside .whitenav a {color:white!important;}
.main-navigation.offside .whitenav a:hover {color:black!important;}
.nav-align-right .navigation-branding {padding-left:60px;}
.slideout-menu {margin:60px 0px!important;}
.slideout-menu {background-color:rgb(219 212 197);padding:60px}
#generate-slideout-menu {max-width:1200px;margin:auto;}
#generate-slideout-menu.do-overlay .slideout-menu li, .slideout-navigation.do-overlay .inside-navigation {text-align:left;padding-left:60px;}
.pro-close {display:none!important;}
html.slide-opened .menu-toggle .icon-menu-bars svg:nth-child(1),
html:not(.slide-opened) .menu-toggle .icon-menu-bars svg:nth-child(2) {
display: none !important;
}html:not(.slide-opened) .menu-toggle .icon-menu-bars svg:nth-child(1),
html.slide-opened .menu-toggle .icon-menu-bars svg:nth-child(2) {
display: block !important;
}
#generate-slideout-menu {
pointer-events: none;
}
#generate-slideout-menu .main-nav {
pointer-events: auto;
}December 15, 2022 at 4:26 am #2462650David
StaffCustomer SupportSorry for the late response, this reply slipped through the system.
Did you resolve the issue with the open/close icon ? AS it seems to be working for me. let me know -
AuthorPosts
- You must be logged in to reply to this topic.