Jump to content

Disable completely mobile overlay menu animation, and also change "x" icon (for closing mobile menu) to a custom asset.

Recommended Posts

Hey, I have two separate issues I would appreciate help with:

The first task is disabling the mobile overlay menu animation. I'd like for the menu to pop back and forth instantaneously with no fading, sliding, etc.

The other thing I would like to do is assign a custom asset for the "X" close icon that brings the mobile menu back to the main page. I already have something set for the icon, but it remains static no matter the state of the overlay menu, open/close.

http://www.petertpolitis.com

Thanks

Edited by kkolitis66
Link to comment
  • kkolitis66 changed the title to Disable completely mobile overlay menu animation, and also change "x" icon (for closing mobile menu) to a custom asset.
  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Add this CSS code

body.header--menu-open div.burger-inner {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2023_11/placeholder.png.5d045e7611b023fe6cba9bf0c322002b.png);
    background-size: contain;
    background-repeat: no-repeat;
}
body.header--menu-open div.burger-inner>* {
    opacity: 0;
}

image.png.80bdd0c312c758beba962bc184b4ce4a.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.