Guest Posted September 30, 2021 Share Posted September 30, 2021 (edited) I need some help with getting a simple CSS code that adds a divider/separator between my 4.th and 5.th menu page. I have a total of 8 pages on the hamburger menu and need to separate half of them from the other half. I have squarespace 7.1. This modification would only apply to the mobile version of the site. Edited September 30, 2021 by veahkki Link to comment
tuanphan Posted October 1, 2021 Share Posted October 1, 2021 Can you share site url? We can help 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!) Link to comment
Guest Posted October 2, 2021 Share Posted October 2, 2021 (edited) I did some research in CSS and managed to pull it off. Thanks for offering help tho! This was the kind of code I was looking for: .header-menu-nav-item:nth-child(4) { border-bottom: 1px solid; padding-bottom: 1em; } .header-menu-nav-item:nth-child(5) { padding-top: 1em; } HOWEVER... how do I make this not apply to subfolders? Edited October 2, 2021 by veahkki Link to comment
tuanphan Posted October 5, 2021 Share Posted October 5, 2021 On 10/2/2021 at 9:48 PM, veahkki said: I did some research in CSS and managed to pull it off. Thanks for offering help tho! This was the kind of code I was looking for: .header-menu-nav-item:nth-child(4) { border-bottom: 1px solid; padding-bottom: 1em; } .header-menu-nav-item:nth-child(5) { padding-top: 1em; } HOWEVER... how do I make this not apply to subfolders? Can you share site url? We can check 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!) 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