Jump to content

Style Mobile Navigation

Recommended Posts

Site URL: https://owl-crow-ll8j.squarespace.com

Hello there,

I would like to style the mobile navigation of my page.

As you see on the Screenshot - I'd like to put the "EN" and "GR" navigation item in the mobile navigation dropdown menu on a blue button. Is there any CSS Code to do this?

With this CSS Code works very good on the desktop version:

#header .header-nav-wrapper .header-nav-item:nth-child(7) a{color:#ffffff; background-color:#002060;

padding-left: 1.5vw;

padding-right: 1.5vw;

}

 

Thank yo2012592684_Bildschirmfoto2021-12-29um18_30_30.png.3b3506830a03061668038223178f30fd.pngu very much in Advance for your help

https://owl-crow-ll8j.squarespace.com/config/settings/domains

Sergio

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 12/30/2021 at 4:41 PM, sergio1967 said:

Site URL: https://owl-crow-ll8j.squarespace.com

Hello there,

I would like to style the mobile navigation of my page.

As you see on the Screenshot - I'd like to put the "EN" and "GR" navigation item in the mobile navigation dropdown menu on a blue button. Is there any CSS Code to do this?

With this CSS Code works very good on the desktop version:

#header .header-nav-wrapper .header-nav-item:nth-child(7) a{color:#ffffff; background-color:#002060;

padding-left: 1.5vw;

padding-right: 1.5vw;

}

 

Thank yo2012592684_Bildschirmfoto2021-12-29um18_30_30.png.3b3506830a03061668038223178f30fd.pngu very much in Advance for your help

https://owl-crow-ll8j.squarespace.com/config/settings/domains

Sergio

Is it the result you want to achieve?

image.png.9aed22867681c6599dc3be5342bf0f9c.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

use this CSS

[data-folder="root"]>div>div:nth-child(7) a, [data-folder="root"]>div>div:nth-child(8) a {
    color: #fff !important;
    background-color: #002060;
    display: inline-block;
    padding: 2.5vw;
}

 

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.