revisor Posted November 12, 2020 Share Posted November 12, 2020 Site URL: https://www.gallerymilmar.com/ If you hover over the "artist" tab you will see my custom dropdown menu that highlights the mouseovered box. If you want to go into either link, you have to precisely hover over the text, and I want the entire black box to be interactable instead of just text. I can already achieve that by having no padding at all, aka deleing "padding: .7em 1em;" line, but then it looks ugly. Here is the code responsible for what I have currently: .header-nav .header-nav-item--folder .header-nav-folder-content{ padding: 0; .header-nav-folder-item{ padding: .7em 1em; } .header-nav-folder-item:hover{ background: #121212 ; a {color: white !important;} } } Thank you in advance! Beyondspace 1 Link to comment
Solution Beyondspace Posted November 13, 2020 Solution Share Posted November 13, 2020 So move the padding to the a tag instead .header-nav .header-nav-item--folder .header-nav-folder-content .header-nav-folder-item { padding: 0 } .header-nav .header-nav-item--folder .header-nav-folder-content .header-nav-folder-item a { padding: .7em 1em; } revisor 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword HighlighterIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment