Jordanheid Posted January 4, 2021 Share Posted January 4, 2021 Site URL: https://mauve-crane-alan.squarespace.com Hi I've added a key line below the nav using CSS. But I want the line to extend to the past the site padding to the left and right edges. This is the code I've used so far: .header-title-nav-wrapper { border-bottom: 2px solid white; padding-right: 1vw; padding-top: 1vw; padding-bottom: 3vw; } Beyondspace 1 Link to comment
Beyondspace Posted January 5, 2021 Share Posted January 5, 2021 19 hours ago, Jordanheid said: Site URL: https://mauve-crane-alan.squarespace.com Hi I've added a key line below the nav using CSS. But I want the line to extend to the past the site padding to the left and right edges. This is the code I've used so far: .header-title-nav-wrapper { border-bottom: 2px solid white; padding-right: 1vw; padding-top: 1vw; padding-bottom: 3vw; } You can replace the code with this header { position:relative; } header:before { position: absolute; width: 100%; content: ''; height: 2px; background-color: #fff; bottom: 2vw; } tuanphan 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Beyondspace Posted January 5, 2021 Share Posted January 5, 2021 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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