Jump to content

Make mobile menu background an image not working

Recommended Posts

I'm trying to make the background of my mobile menu a photo. I've tried the code:

.Mobile-overlay-menu {
    background-image: url(https://static1.squarespace.com/static/6449809747dc621a3c0ac369/t/6478d3564221f7411e9cd6f0/1685640022458/pic.jpg);
}

 

and nothing is changing

Screen Shot 2023-06-01 at 10.29.42 AM.png

Screen Shot 2023-06-01 at 10.29.52 AM.png

Link to comment
  • Replies 3
  • Views 116
  • Created
  • Last Reply

Top Posters In This Topic

It looks like you figured it out with this CSS code?

.header-menu .header-menu-bg {
    background-image: url(https://static1.squarespace.com/static/6449809747dc621a3c0ac369/t/6478d3564221f7411e9cd6f0/1685640022458/pic.jpg);
    background-size: cover
}

 

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.