How to Highlight a Specific Navigation Link in Squarespace

These days, your navigation menu does more than provide structure; it’s a useful guide to help visitors, highlight key pages, boost the overall user experience, and more. If you are using the Squarespace 7.1 template, I’m going to teach you how to make one of your top navigation links (such as “about” or “shop”) stand out using custom styling with CSS.

Why Highlight a Specific Navigation Link?

Whether you’re running a sale, promoting an event, or you’d just like to draw attention to a specific page, such as your Shop, Contact, or About page, highlighting a certain link increases clicks and highlights certain aspects of your branding.

What You’ll Need

  • A Squarespace 7.1 Site utilizing the Template

  • Custom CSS (access with Business or Commerce plan)

  • The page slug or link you want to highlight (e.g., about, shop, contact)

Step-by-Step Guide to Highlight a Navigation Link

Step 1: Go to Custom CSS

  1. From your Squarespace Dashboard, go to:
    Pages → Custom code → Custom CSS

  2. Scroll down to the code editor section.

Step 2: Add Custom CSS Code

Let’s say you want to highlight the "About" page in your top navigation. You can target it using its URL slug.

Copied!
/* Highlight "About" navigation link */
header nav a[href*="about"] {
  color: #E63946 !important; /* Red text */
  font-weight: bold;
  border-bottom: 2px solid #E63946; /* Add underline */
}
/* Optional: Add hover effect */
header nav a[href*="about"]:hover {
  color: #A31621 !important;
  border-color: #A31621;
}

Replace "about" with your page slug if different, e.g., contact, shop, or services.

Design Variations

Here are a few other styles you can apply:

Example: Highlight with a Background

Copied!
/* Style "Shop" with a soft yellow background */
header nav a[href*="shop"] {
  background-color: #FDE68A;
  color: #000 !important;
  padding: 6px 12px !important;
  border-radius: 16px;
  font-weight: 600;
}

Example: Bold with a Pill Style

Copied!
/* Highlight "Contact" with a pill-shaped button */
header nav a[href*="contact"] {
  background: #DCFCE7;
  color: #065F46 !important;
  padding: 6px 16px !important;
  border-radius: 999px;
  font-weight: 700;
}

Pro Tips

  • Determine the slug: Look at your page's URL to find the appropriate keyword that goes into href*="...".

  • Inspect the nav: Right click on your nav and select “Inspect” to verify the structure.

  • Keep it cohesive: Try to have your highlight style match your brand’s color palette.

Final Thoughts

A tailored navigation menu is a tiny but mighty modification that can make a difference to your website’s usability and yield. So, with just a few lines of CSS, you will be able to get a good-looking, well-defined navigation link on your Squarespace 7.1 (template) site.


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

Why Editing Your Mobile Layout in Squarespace Affects Your Desktop Site

Next
Next

Use the Bluesky Icon in Squarespace  (No Code Needed)