Jump to content

Navigation Links Hover Effects: color all the way to the edge of the menus

Recommended Posts

Hi y'all, 

I have this code currently on my website 

.header-nav-item a:hover {
      background: black! important;
    color: white !important;
     
}

which makes the background of my navigation links black and the text white when I hover over them, but the problem is I can't figure out how to add spacing on either side of the word so that the color goes to the edge of the drop down navigation menu. 

image.thumb.png.14577dd977cbe761e1f690099092f731.png

It's a little hard to see because the video in the background is black and white, but I don't want that "step" between impact and the drop down menu. 

 

Thank you for your help!

Link to comment
  • Replies 1
  • Views 89
  • 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.