earthwindflowermoon Posted October 14, 2021 Share Posted October 14, 2021 Site URL: https://tmforwomen.squarespace.com/ Hello, I have used the below code to add dividers between my main navigation. It works great but I want to hide the last one after 'contact' on the right. How do I do this? Thank you!! .Header-nav-item:after { content: "|"; margin-left: 15px; font-size: 1.4em; color: white; } Link to comment
creedon Posted October 15, 2021 Share Posted October 15, 2021 You can change your selector to the following. .Header-nav-item:not(:last-child):after Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
earthwindflowermoon Posted October 15, 2021 Author Share Posted October 15, 2021 This worked a treat! Thank you so much!!!! creedon 1 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