How to Increase Vertical Padding in Dropdown Menu – Squarespace 7.1

If you feel like your Squarespace 7.1 drop-down menus are compressed and crowded, you are not alone. The source of the problem: Dropdown links are often too close together for some site owners, at the cost of usability and mobile navigation!

Happily, there is a straightforward remedy:

Adding vertical padding to your dropdown menu items using custom CSS.

You can do this: lift the menu items apart vertically.

  • Improve visibility and accessibility of navigation menus

  • Get your website to look more slick and professional

  • touch Tablet and mobile touch users should have a better experience than the rest.

Whether you are creating a business website, portfolio, or online shop, it will only take a few lines of CSS to learn how to change dropdown spacing in Squarespace, no plugins or complex coding needed.

In this tutorial, you will learn:

  • Which Squarespace areas to customize with CSS

  • CSS: On how to add custom vertical padding to dropdown menus

  • Mobile optimisation and smooth hover effects were part of the brief

Today, we're going to take a look at this easy and effective dropdown spacing patch to make your Squarespace website feel cleaner, more user-friendly, and visually balanced.

Step-by-Step: How to Add Vertical Padding to Dropdown Menus

Step 1: Understand Which Elements to Target

In most Squarespace 7.1 templates:

Item CSS Class
Dropdown Menu Links .header-menu-nav-item or .header-nav-folder-content .header-nav-folder-item

You need to target the individual dropdown link items.

Step 2: Add Custom CSS to Increase Vertical Padding

Go to:
Pages → Custom code → Custom CSS
Paste this code:

Copied!
/* Increase vertical padding in dropdown menus */
.header-nav-folder-content .header-nav-folder-item {
  padding-top: 8px;
  padding-bottom: 8px;
}
/* add background color and border to the dropdown folder */
.header-nav-folder-content {
  background-color: #fcfeff !important;
  border-radius: 5px !important;
  border: 5px solid #a4e0f2;
}

This will:

  • Add 12px padding above and below each menu link

  • Create more vertical breathing space inside the dropdown

Adjusting for Your Design

You can customize:

padding-top: 16px;

padding-bottom: 16px;

or

padding-top: 20px;

padding-bottom: 20px;

Larger padding = bigger clickable area = better UX (especially mobile)!

Step 3: (Optional) Smooth Transition Effect on Hover

You can also add hover effects if you want a smoother interaction.

Add this below your CSS:

Copied!
.header-nav-folder-content .header-nav-folder-item {
  transition: all 0.3s ease;
  padding: 5px 10px !important;
}
.header-nav-folder-content .header-nav-folder-item:hover {
  background-color: #d2ecf4; /* Light background on hover */
  border-radius: 4px !important;
  padding: 5px 10px !important;
}

Now, when users hover over links, they get a smooth background highlight + nice spacing!

Mobile Behavior Tip

This CSS works well on both desktop and tablet views.

If you want different padding for mobile, you can add:

Copied!
@media only screen and (max-width: 767px) {
  .header-nav-folder-content .header-nav-folder-item {
   padding-top: 14px;
   padding-bottom: 14px;
  }
}

This ensures your mobile dropdown is easier to tap and doesn't feel crowded.

Quick Summary:

Step Action
1 Identify the dropdown menu item classes
2 Add padding-top and padding-bottom using Custom CSS
3 (Optional) Add hover transitions for smoother interaction
4 Preview and adjust padding to your liking

You’ll have a beautiful, clean, and spacious dropdown menu!

Final Result:

After setting this:

  • Your dropdown menus feel bigger, cleaner, and easier to click

  • Visitors enjoy a better navigation flow

  • The site feels more professional on desktop and mobile

A small padding change = a huge UX improvement!

Important Notes:

Tip Reason
Keep padding consistent Makes the menu easier to scan
Test across screen sizes Check desktop, tablet, and phone
Avoid extreme padding Too much = too much scrolling in small menus

Frequently Asked Questions

Walid Hasan

I'm a Professional Web developer and Certified Squarespace Expert. I have designed 1500+ Squarespace websites in the last 10 years for my clients all over the world with 100% satisfaction. I'm able to develop websites and custom modules with a high level of complexity.

If you need a website for your business, just reach out to me. We'll schedule a call to discuss this further :)

https://www.squareko.com/
Previous
Previous

How to Add Image Hover Effects with Links Using Default Squarespace Classes (7.1)

Next
Next

How to Set a Unique Subject for Form Submissions in Squarespace 7.1