Jump to content

Editing the background color of nested menus in Tremont (Custom CSS)

Recommended Posts

Site URL: https://burntpizzacork.ie

I'm using the Tremont theme and am trying to find a way to change the background color of the nested menu.

Currently it's transparent, and this poses a problem because when the dropdown is expanded, the text opens up over other text and isn't readable. I would like to add a background colour and border to the drop down menu.

I'm currently trying to use the following code but it doesn't seem to be working:

  background-color: #000000;!important;
  border: 1px #ffffff

The site is  https://burntpizzacork.ie

Thanks for your help.

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Used this CSS (Design > Custom CSS)

.subnav {
    background-color: rgba(0,0,0,.85);
    border: 1px solid #fff;
    padding-right: 10px;
    margin-top: 10px;
    max-width: 120%;


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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.