Force Mobile Navigation on Squarespace Brine Templates
The question of how to use the mobile ‘hamburger’ navigation on Squarespace sites comes up a lot, and it doesn’t seem like many people have provided a concrete answer.
In this article, I’m going to show you how you can force the mobile navigation to show all the time, even when viewing on desktop browsers. It’s really quite simple!
Here’s How it’s Done
The Brine family of templates allows you to set the mobile breakpoint. This means that you can define when the menu changes to the mobile style.
1. Change the Mobile Breakpoint
Navigate to the style editor (Design > Site Styles).
In the search bar, type “break” to find the Mobile Breakpoint style option.
If you move the slider all the way to the right, the maximum width is 1280px, but if you click on the number, you can type in whatever value you want. Click on the number and type in a huge number that’s large enough to ensure that the mobile menu shows no matter how wide your visitors’ browser is, I used 6000px. It’s not likely that anyone will have their browser stretched wider than this.
Once you do this, this the mobile menu will show.
In the style editor search bar, type “top” to find the mobile top options. Here, you can choose whether you want a fixed header, and choose the colour of the menu bar.
You can leave it like this if you want to have a fixed or non-fixed header with a colored background.
if you want to have a transparent menu bar, keep reading.
2. Make the Menu Bar Transparent
Change the ‘Top Background’ colour to whatever you want and move the transparency slider all the way to the left to make it completely transparent.
Once you do this, the menu bar will be transparent, but the space where the mobile menu sits will still show the background color of your footer.
3. Close the Mobile Menu Gap
The top of each page will have a big margin gap because normally you would want the content to start below the menu bar.
To remove this gap, we’re going to add some CSS to move up the first section of index pages, regular pages, blog pages, and store pages.
Navigate to the Custom CSS panel (Design > Custom CSS) and paste the following code:
.Index-page:first-child, .Main--page, .Main--blog-item, .Main--products-item, .Intro {
margin-top: -85px !important
}In the above example, we used -85px to move up the page content by 85 pixels. You may have to adjust this number to compensate for the size of your menu bar because it will be taller if you have a bigger logo.
4. Optional Logo Colour Modification
My website is completely black and white; black in some sections, white in other sections. However, I wanted the logo and menu icon to be visible no matter which part it’s hovering over.
To achieve this, I used a little CSS trick called ‘mix-blend-mode.’ ‘Mix-blend-mode: difference’ makes it so that the elements are the opposite color of whatever it’s on top of. If you want to achieve this as well, navigate back to the Custom CSS panel (Design > Custom CSS) and paste the following code:
.Mobile-bar--top {
mix-blend-mode: difference !important;
}This is the result:
I’d love to see what you do with this. Paste your own website in the comments to show me what you’ve done.
Related Articles:
In this article, I’ll show you how you can force the mobile navigation to show all the time, even when viewing on desktop browsers in Squarespace 7.1.
The Brine family of templates in Squarespace 7.0 offered a lovely, optional parallax feature that could be applied to banner images. 7.1 does not currently offer this option. However, with a little bit of code, we can add a (more flexible) version of the parallax effect to banner images in this updated design system.
I always recommend putting up an “Under Construction” or “Coming Soon” page during the build of the new site to prevent visitors from stumbling upon your un-finished site mid-build. It could be messy while it’s under construction and leave a bad impression.
There is a plethora of amazing effects that anyone familiar with CSS and/or Javascript can implement on a customized website. However, because the HTML is already written for you when you’re building with Squarespace, it can be difficult to add custom effects using a combination of HTML, CSS and Javascript, but it can actually be quite easy.
In this article, I’m going to show you how you can force the mobile navigation to show all the time, even when viewing on desktop browsers like I have on this website. It’s really quite simple!
Now that 2019 is well underway, we can start to consider future web design trends and industry developments for 2020 and beyond. Whether you manage your own website or outsource your services to third-party clients, web development trends are worth keeping in mind.
I’d like to share some of my favourite tools and resources because all of these tools are free to use, and sharing them is my way of showing appreciation for the help and guidance they’ve provided.
Parallax web design effects have been growing in popularity for years. It’s a wonderful way to add visual interest you your website when done correctly.
Some time ago, I wrote an article outlining how to create slanted headers and footers. That small bit of code was then featured within the Ghost Plugins library, and I’ve since been bombarded with emails containing questions about how to add slanted sections within a Brine Index.
If you’ve spent any time building a Squarespace website, you know that it’s super easy to make a horizontal line by using a line block. But what about vertical lines?
Before I started building websites for clients, I used Squarespace to build a website for my previous business. It took some time to figure out, but I ended up with a website that I could be proud of, even with my unreasonably high standards.
As I gain more experience building websites on Squarespace, I continue to notice small nuances that are sometimes neat, sometimes annoying. Regardless of what it is, I often just want to change some small thing.
In a very, very short amount of time, I've already encountered several situations during which extended family, friends, colleagues, and even acquaintances have asked for a favour in the form of free design work.
Squarespace made it easy for us website solopreneures to implement that annoying (but necessary) cookie banner on our own sites. I’ve only just turned it on on my own website, but was shocked to see this:
SEO is one of the hottest topics amongst web designers right now. Who's doing it right? Who's doing it wrong? What do search engines like Google use to measure how your website will be displayed?
Button blocks in Squarespace are a super easy and convenient way to add a good-looking and consistently stylized button to your page. The convenience of Squarespace also comes with some limitations that sometimes make ostensibly easy tasks difficult.
Think about the biggest and most successful brands you know. Are you able pick up on the vibe they're giving? Do you understand the story they're telling?
Squarespace offers a tightly curated collection of templates that allow you to be your own designer and come out looking like an industry leader with a polished website, but it's easy to simply choose a template, plug in your photos and text, and end up with a website that looks exactly like the thousands of others with the same layout and styling.
Question: Would you leave sensitive documents with tons of your personal information out on a table when you have guests over to your house?
If so, kudos to you for having a trusting, carefree spirit—you probably won't care about this topic. If not, keep reading
ou're a savvy business person and you know the importance of retaining customers. That's why you have a compelling website that keeps people browsing for whole minutes.
Are you seeing lots of page visits in your analytics but no one is calling? Maybe someone referred a friend to your business and they never got back to you. In the world of business you have seven seconds to make a first impression. With your website, you have even less time than that.
One of the main concerns I've heard from clients and others thinking about using Squarespace is that they don't want their website to look and act like everyone else's site and look like a template.
I first became interested in doing this when I saw it on the Squarespace circle website. Then recently a client I'm trying to get showed me the Shawn Mendez website because he was utterly fascinated with the angles and the parallax over the footer. I wanted to find a way to simulate this look in a different way, as to not be total copycat.
"Squarespace sucks for SEO." I've heard this almost enough times to believe it, but the one thing I believe for sure is that the people who say that have never used Squarespace before in their lives and just like to start arguments on forums.
I often find myself defending Squarespace to so-called "real" web designers. I don't know what that even means—but it's rude. Squarespace is all I've ever known with respect to web design.
In this article, I’ll show you how to create an anchor link sidebar navigation in Squarespace 7.1 and Fluid Engine.