Jump to content

Using CSS to change mobile view

Recommended Posts

Posted

Site URL: http://sccfonline.org

I'm not tech savvy but understand that custom coding can help me change the background of the navigation menu on mobile view.  My nav text is white and currently, on mobile view, the background on the drop down is essentially white as well.  How do I change the background to a navy blue to allow the nav text to be visible?

  • Replies 1
  • Views 175
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted
On 4/22/2022 at 12:58 AM, BobbyM said:

Site URL: http://sccfonline.org

I'm not tech savvy but understand that custom coding can help me change the background of the navigation menu on mobile view.  My nav text is white and currently, on mobile view, the background on the drop down is essentially white as well.  How do I change the background to a navy blue to allow the nav text to be visible?

Add to Design > Custom CSS

/* Mobile menu */
#mobileNav .nav-wrapper {
    background-color: navy !important;
}

 

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!)

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.