Jump to content

mobile view black background with white text

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

1 hour ago, alexwelsh said:

Site URL: http://www.raphacbd.com

Hi, I changed a bit of text and it has now changed the look of my hamburger menu on mobile view.

I would like it to be black background with white text. I used the CSS code to change the background black and managed to find a code to turn the text white however it didn't show my burger menu as it disapears and then you can't leave the page, 

 720356147_errorburgermenu.PNG.a475dea71973d71fdf9bd8e64aa8055e.PNG

Try adding to Home > Design > Custom Css

body.header--menu-open .site-wrapper .header-menu .header-menu-bg {
  background-color: #000;
}

body.header--menu-open .header .header-burger .top-bun, body.header--menu-open .header .header-burger .bottom-bun{
  background: #fff;
}

body.header--menu-open .header .header-title-text a {
  color: #fff;
}

body.header--menu-open  .site-wrapper .header-menu .header-menu-nav a:not(.btn) {
  color: #fff;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.png.d770cfd8e07b97824c92f5303915f8f9.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.