Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Use hamburger menu for screen widths less than a breakpoint


Sam_90210

Question

Site URL: https://www.ultimategearlists.com/

I am using Squarespace 7.0, with the Five template.

The link to my site is: https://www.ultimategearlists.com/.

My desktop navigation menu has grown, and now has too many elements to fit in a single line when viewing on a narrower desktop or a tablet.

I would therefore like to use an arbitrary breakpoint (say around ~1200px) below which the navigation bar changes to a right-aligned hamburger icon and clicking on the hamburger icon will produce a drop down navigation similar to mobile.

Unfortunately the breakpoint for switching from desktop navigation to mobile navigation (i.e. hamburger) appears hardcoded in the Five template, at 640px. So I likely need to use custom CSS to get around that.

I have tried various custom CSS approaches based on other forum posts, but none seem to work. Perhaps since they aren't suitable to the Five template.

Any assistance would be much appreciated!

Link to comment
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

  • 0
On 5/24/2021 at 9:20 PM, Sam_90210 said:

Site URL: https://www.ultimategearlists.com/

I am using Squarespace 7.0, with the Five template.

The link to my site is: https://www.ultimategearlists.com/.

My desktop navigation menu has grown, and now has too many elements to fit in a single line when viewing on a narrower desktop or a tablet.

I would therefore like to use an arbitrary breakpoint (say around ~1200px) below which the navigation bar changes to a right-aligned hamburger icon and clicking on the hamburger icon will produce a drop down navigation similar to mobile.

Unfortunately the breakpoint for switching from desktop navigation to mobile navigation (i.e. hamburger) appears hardcoded in the Five template, at 640px. So I likely need to use custom CSS to get around that.

I have tried various custom CSS approaches based on other forum posts, but none seem to work. Perhaps since they aren't suitable to the Five template.

Any assistance would be much appreciated!

Try access Design > Site Styles > Scroll down to Mobile: Mobile Breakpoints

break.png.3bf910dba246824ee547ca9adc50d524.png

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...