Jump to content

Fix Spacing in Hamburger Nav Menu

Recommended Posts


I need help with spacing on the bottom of my hamburger menu (forced mobile menu on desktop)

I attached a screenshot of the bottom of the menu where the search icon and member area are spaced out under log-in.

The website is https://www.mediterranos.com/ and password: pita

For the search icon I used the Will Myers code.

Thanks in advance for any help! Here is my current code in CSS:

/* 768 for tablet - desktop - 992 for desktop */
@media screen and (min-width:768px) {
 /* hide navigation */
    .header-nav {
    display: none;
/* show burger */
.header-burger {
  display: flex;
/* Show overlay mobile menu */
.header--menu-open .header-menu {
opacity: 1;
visibility: visible;
.burger-inner:hover .top-bun, .burger-inner:hover .patty, .burger-inner:hover .bottom-bun
{background-color:#FF660F !important;}
* Search Icon in Header Styles
* From Will-Myers.com
//Search Page Styles
.sqs-search-page.sqs-search-page-content::before {
  content: "Search";
  display: inline-block;
  margin-bottom: 34px;
  font-size: ~"calc((3 - 1) * 1.2vh + 1rem)";

.search-icon * {
  stroke: currentColor;
  stroke-width: 4px;

// Desktop Search Icon
.showOnDesktop {
  display: flex;
  align-items: center;

// Mobile Search Icon
[data-folder="root"] .search-icon .icon {
  width: 28px;
  height: 28px;
.header-menu-nav-item a:hover div {
    color: #FF660F !important;


Screen Shot 2023-07-19 at 11.54.19 AM.png

Link to comment
  • Replies 1
  • Views 486
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.