JenIJW Posted February 17, 2020 Posted February 17, 2020 Hi, I'm in Version 7.1 and I want to increase the vertical spacing/padding between items in the drop down menu. So in the attached image, more vertical space between "Doodle Line Art" and "Lino Print Stars" etc. Also, I might want to change the font highlight colour when a submenu item is clicked on/selected, so if anyone has any code for that, it would be appreciated. Thanks
tuanphan Posted February 17, 2020 Posted February 17, 2020 Can you share link to your site? JenIJW and SimpleLittleDesigns 1 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
JenIJW Posted February 18, 2020 Author Posted February 18, 2020 Hi - here it is > https://itsjensworld.com
Solution tuanphan Posted February 18, 2020 Solution Posted February 18, 2020 Add to Home > Design > Custom CSS .header-nav-folder-item a { padding-top: 10px !important; } .header-nav-folder-item--active a { color: red !important; } ClintonLugert, sayreambrosio, SimpleLittleDesigns and 4 others 2 4 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
MakingWaves Posted July 25, 2020 Posted July 25, 2020 Hey guys. I know this is an old thread but hopefully someone can help. I've tried adding this code to create more vertical space between page titles in the drop down nav, but nothing changes. .header-nav-folder-item a { padding-top: 10px !important; } https://www.makingwavescreative.com/ Any help welcome! Thank you.
tuanphan Posted July 26, 2020 Posted July 26, 2020 7 hours ago, MakingWaves said: Hey guys. I know this is an old thread but hopefully someone can help. I've tried adding this code to create more vertical space between page titles in the drop down nav, but nothing changes. .header-nav-folder-item a { padding-top: 10px !important; } https://www.makingwavescreative.com/ Any help welcome! Thank you. a.Header-nav-folder-item { padding-top: 10px; } MakingWaves 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
mandrous Posted October 5, 2020 Posted October 5, 2020 (edited) @tuanphan you are half the reason I use Squarespace. I love you. Edited October 5, 2020 by mandrous added user tag MakingWaves, deoracatherine, stapers and 1 other 4
Cindy1570048209 Posted October 22, 2020 Posted October 22, 2020 I have 7.0 and would like to increase the space also. Would this custom code work for the spacing. I don't need the color, I just need more spacing. https://www.impromptuphotography.com/
tuanphan Posted October 23, 2020 Posted October 23, 2020 15 hours ago, Cindy1570048209 said: I have 7.0 and would like to increase the space also. Would this custom code work for the spacing. I don't need the color, I just need more spacing. https://www.impromptuphotography.com/ Can you turn off "right click disable"? We can check code easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Cindy1570048209 Posted October 23, 2020 Posted October 23, 2020 I am going to sound stupid right now and have to say, I truly don't remember how I did it (turned it on or off). I just know I need it (personally that is). I know it doesn't provide total protections, but it does deter.
tuanphan Posted October 25, 2020 Posted October 25, 2020 It is very time consuming to check the code of a website without right clicking, you will need to scan each code on the website to find the correct code position and then start the check. You can try remove all code in COde Injection Header/Footer Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
harlowbogie Posted November 28, 2020 Posted November 28, 2020 Hi @tuanphan! I'm trying to add more vertical spacing between my items in a dropdown menu and plugged in the code you mention about into the CSS, but it's not working. Any other advice? My site is: nancykononelos.com. Thanks!! .header-nav-folder-item a { padding-top: 10px !important; }
Guest Posted November 30, 2020 Posted November 30, 2020 On 2/18/2020 at 2:42 AM, tuanphan said: Add to Home > Design > Custom CSS .header-nav-folder-item a { padding-top: 10px !important; } .header-nav-folder-item--active a { color: red !important; } This works great!!! ONE question: I notice that the space (pixels) between the items in the drop down, for about 1-2 seconds are in their original, "too close together" space, and then POP farther apart to the actually pixels I set (in my case, 20 px). So I'm guessing the sub-menu items are about 5 pixels for 1-2 second and "jump" to 20. It tends to then stay at the 20 px until you go to another page, hover over the menu item, and it starts all over again. Is there a line of code to tweak this so the sub-menu/drop down space between links stays in place (ie, at 20 px)? Thank you! 🙂
tuanphan Posted December 3, 2020 Posted December 3, 2020 On 11/28/2020 at 9:08 PM, harlowbogie said: Hi @tuanphan! I'm trying to add more vertical spacing between my items in a dropdown menu and plugged in the code you mention about into the CSS, but it's not working. Any other advice? My site is: nancykononelos.com. Thanks!! .header-nav-folder-item a { padding-top: 10px !important; } Add to Custom CSS .subnav li { margin-bottom: 20px !important; } On 11/30/2020 at 1:52 PM, TonyBabarino said: This works great!!! ONE question: I notice that the space (pixels) between the items in the drop down, for about 1-2 seconds are in their original, "too close together" space, and then POP farther apart to the actually pixels I set (in my case, 20 px). So I'm guessing the sub-menu items are about 5 pixels for 1-2 second and "jump" to 20. It tends to then stay at the 20 px until you go to another page, hover over the menu item, and it starts all over again. Is there a line of code to tweak this so the sub-menu/drop down space between links stays in place (ie, at 20 px)? Thank you! 🙂 Can you share site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Tyler-c Posted June 14, 2022 Posted June 14, 2022 (edited) Hi @tuanphan, I know this is an old thread, but I've been using this code on my website and it works just fine! I did have a question regarding the very top word on my drop down menu. Is it possible for one word to have more space than other words? For example, I'd like the top word on my drop down menu to be 20 pixels higher than the words below it. Then the words below it would be 10 pixels apart from each other. Also, I was wondering if it possible for the words in my drop down menu to highlight when I hover my mouse over it. If I could get help on this it would be highly appreciated! My website is tylerjamesdesigns.com. Edited June 14, 2022 by Tyler-c
tuanphan Posted June 15, 2022 Posted June 15, 2022 7 hours ago, Tyler-c said: Hi @tuanphan, I know this is an old thread, but I've been using this code on my website and it works just fine! I did have a question regarding the very top word on my drop down menu. Is it possible for one word to have more space than other words? For example, I'd like the top word on my drop down menu to be 20 pixels higher than the words below it. Then the words below it would be 10 pixels apart from each other. Also, I was wondering if it possible for the words in my drop down menu to highlight when I hover my mouse over it. If I could get help on this it would be highly appreciated! My website is tylerjamesdesigns.com. Your site is private. Can you setup an access password? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
KG_LDG Posted July 19, 2023 Posted July 19, 2023 Hi! I'm also looking for more spacing in between each line on the drop down menu. Site: LDG - 2 (squarespace.com) pass: laguardia
tuanphan Posted July 22, 2023 Posted July 22, 2023 On 7/19/2023 at 9:48 PM, KG_LDG said: Hi! I'm also looking for more spacing in between each line on the drop down menu. Site: LDG - 2 (squarespace.com) pass: laguardia Add to Design > Custom CSS /* Mobile nav space */ div.container.header-menu-nav-item { margin-bottom: 40px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
alysemichelle Posted July 27, 2023 Posted July 27, 2023 I am looking to increase the verticle spacing between the subnav on my site (on desktop viewing), can you please advise on the code? The codes above did not work for me goodacretherapy.com
tuanphan Posted July 28, 2023 Posted July 28, 2023 On 7/27/2023 at 10:42 AM, alysemichelle said: I am looking to increase the verticle spacing between the subnav on my site (on desktop viewing), can you please advise on the code? The codes above did not work for me goodacretherapy.com I don't see sub nav on desktop. Can you take a screenshot? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
EmaAries Posted August 4, 2023 Posted August 4, 2023 This code works for me in the new Fluid - 2023 gen .header-nav .header-nav-item--folder .header-nav-folder-content .header-nav-folder-item { line-height: 2; } tuanphan and Margaux 1 1 Break it, till you make it
KG_LDG Posted August 7, 2023 Posted August 7, 2023 On 7/21/2023 at 8:15 PM, tuanphan said: Add to Design > Custom CSS /* Mobile nav space */ div.container.header-menu-nav-item { margin-bottom: 40px; } Not for mobile site - for the desktop
tuanphan Posted August 9, 2023 Posted August 9, 2023 On 8/7/2023 at 10:57 PM, KG_LDG said: Not for mobile site - for the desktop Use this CSS code /* Dropdown items space */ .header-nav-folder-item { margin-bottom: 40px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment