northtahoepaddle Posted March 2, 2021 Share Posted March 2, 2021 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! Link to comment
AndreaDube Posted March 3, 2021 Share Posted March 3, 2021 Try: .header-nav .header-nav-item--folder .header-nav-folder-content { min-width: auto; } madcapcreative 1 Link to comment
northtahoepaddle Posted March 3, 2021 Author Share Posted March 3, 2021 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
AndreaDube Posted March 3, 2021 Share Posted March 3, 2021 Looks like you figured it out? Link to comment
fleurdelis Posted June 11, 2021 Share Posted June 11, 2021 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! AndreaDube and madcapcreative 2 Link to comment
JParker1570048365 Posted November 21 Share Posted November 21 Hi guys, I had the same problem and this also works for me, thank you!! Do you know how to make it work for the Language drop down menu too? 🙂 https://silver-star-fphr.squarespace.com password: jimparker Link to comment
tuanphan Posted November 24 Share Posted November 24 On 11/21/2023 at 5:27 PM, JParker1570048365 said: Hi guys, I had the same problem and this also works for me, thank you!! Do you know how to make it work for the Language drop down menu too? 🙂 https://silver-star-fphr.squarespace.com password: jimparker Use this CSS code /* align language dropdown */ .language-picker-content * { text-align: right !important; align-items: flex-end !important; justify-content: flex-end !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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