Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Changing Header Navigation Folder Drop Down Menu Width and Styling?


Question

Site URL: https://hen-rust-2rf6.squarespace.com/

Hello,

I'm hoping someone here may be able to help me figure out the custom CSS that I need to change the issue I'm having with my current site design. I have a folder in my header navigation titled "Reservations" that when hovered over, the drop down menu is approximately twice as wide as the page titles that drop down below the folder. I'll attach a screenshot for reference.

In a perfect world, I'd like the drop down to only be as wide as the widest title of the page within the folder with a small amount of padding on either side, centered horizontally under the folder title, and the each word, including the folder title "Reservations" to be spaced equally vertically. I also may ultimately end up wanting the background color of the drop down menu to just be transparent, as that may end up being the most aesthetically pleasing look. 

I've poked around the forums a bit, and tried embedding some of the various custom CSS that I've found, yet none of it has seemed to do what I was hoping. If anyone has any idea what the best way to approach this would be, any help would be greatly appreciated.

Here is the site info, not sure if this helps or not...

https://hen-rust-2rf6.squarespace.com/

password: guest

Squarespace 7.1, Colima template

Thanks!

Screen Shot 2021-03-02 at 12.23.26 PM.png

Link to comment

4 answers to this question

Recommended Posts

  • 0
1 hour ago, AndreaDube said:

Try: 



.header-nav .header-nav-item--folder .header-nav-folder-content {
    min-width: auto;
}

 

Thank you!! This is exactly what I was looking for, I just couldn't seem to find the exact CSS I needed for this. Thank you, thank you, thank you.

Do you perhaps have any recommendation for the vertical spacing I mentioned in my original question or making the background of the drop down menu transparent? I'll start poking around on my own a bit, as I'm guessing there are plenty of resources on this, but if you have any ideas, please let me know!

Thanks again, I really appreciate your help.

Sam 

Link to comment
  • 0
On 3/2/2021 at 6:25 PM, AndreaDube said:

Try: 



.header-nav .header-nav-item--folder .header-nav-folder-content {
    min-width: auto;
}

 

THANK YOU SO MUCH. I've scoured these forums for a code that works, and yours is the only one that has! I genuinely tried at least 15 and was starting to lose faith. Thanks again!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...