katerynalubska Posted February 20, 2023 Share Posted February 20, 2023 Hello everyone! Please help change the distance between items in the middle of a folder. My code: /* nav hover */ .header-nav-item>a:hover { color: #EF9362 !important; } .header-nav-folder-item:hover a { color: #EF9362 !important; } .header-nav-item>a:hover:after { content: ""; display: block; height: 1px; background-color: #EF9362; margin-top: 5px; } // Folder Color // .header-nav-folder-content { background: transparent !important; } // Folder Link Color // .header-nav-folder-item a { color: #22181C !important; } @media(min-width:767px) { .col.wm-sticky-column { position:sticky; top: 150px; } } .header-actions .header-nav-item { padding-right:1.1vw !important; /**change as needed**/ } .header-nav-list { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-box-pack:end !important; -ms-flex-pack:end !important; justify-content:flex-end !important; .header-nav-item { padding-right:1.1vw !important; /**change as needed**/ } } .header-actions--right { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between; } .header-actions .header-nav-item { padding-right:1.5vw !important; //change as needed } .header-nav-list { display:flex; justify-content:flex-start !important; .header-nav-item { padding-right:1.5vw !important; //change as needed } } .header-actions--right { display:flex; justify-content:space-between; } .header-nav-folder-content { opacity: 0; pointer-events: none; position: absolute; top: 2.5em; margin-left: 0em; padding: .0em .0em; text-align: left; box-sizing: border-box; width: 185px; z-index: 10; padding-top: 0.5vw; } .header-nav-item--folder:hover .header-nav-folder-content, .header-nav-item--folder .header-nav-folder-content.focus-within { opacity: 1; pointer-events: auto; } .header-nav-item--folder:hover .header-nav-folder-content, .header-nav-item--folder .header-nav-folder-content.focus-within { opacity: 1; pointer-events: auto; } Link to comment
Ziggy Posted February 20, 2023 Share Posted February 20, 2023 Can you share your website URL? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
katerynalubska Posted February 20, 2023 Author Share Posted February 20, 2023 37 minutes ago, Ziggy said: Can you share your website URL? https://lafemmeralucom.squarespace.com/ peachyblog Link to comment
Solution Ziggy Posted February 20, 2023 Solution Share Posted February 20, 2023 There's very little padding currently, you can try this Custom CSS to see if that helps: .header .header-nav-wrapper a { padding:0; } .header-nav .header-nav-item--folder .header-nav-folder-content .header-nav-folder-item { line-height:1em; } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
katerynalubska Posted February 20, 2023 Author Share Posted February 20, 2023 11 minutes ago, Ziggy said: There's very little padding currently, you can try this Custom CSS to see if that helps: .header .header-nav-wrapper a { padding:0; } .header-nav .header-nav-item--folder .header-nav-folder-content .header-nav-folder-item { line-height:1em; } yes! but I changed line-height on 1.9em and it turned out perfectly. you're a wizard! Link to comment
Ziggy Posted February 20, 2023 Share Posted February 20, 2023 Sorry, I misunderstood slightly, if you want it bigger, use this instead: .header .header-nav-wrapper a { padding:1rem 0; } .header-nav .header-nav-item--folder .header-nav-folder-content .header-nav-folder-item { line-height:1.3m; } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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