designbyjrs Posted October 21 Posted October 21 Site URL: http://designbuildhamptons.com/home Hi, I'm looking to create a double line under the header. I created the lines you see currently with this code, but the double aspect isn't working: div.header-announcement-bar-wrapper { border-top: 2px solid #0a1c30 !important; border-bottom: 1px double #0a1c30 !important; } See attached for the look I'm trying to create. Julia
Solution Spark-Plugin Posted October 22 Solution Posted October 22 Hi @designbyjrs, try this code and let me know how it goes: div.header-announcement-bar-wrapper { border-top: 3px solid #0a1c30 !important; /* Top solid border */ position: relative; /* Ensure ::after pseudo-element is positioned correctly */ padding-bottom: 5px; /* Optional: Adds some space for the bottom lines */ } div.header-announcement-bar-wrapper::after { content: ''; position: absolute; bottom: 0; /* The lowest line is at the bottom */ left: 0; width: 100%; height: 2px; /* Thickness of the second line */ background-color: #0a1c30; } div.header-announcement-bar-wrapper::before { content: ''; position: absolute; bottom: 15px; /* Distance between the two bottom lines */ left: 0; width: 100%; height: 2px; /* Thickness of the first bottom line */ background-color: #0a1c30; } - Answered by Iuno from sparkplugin.com
designbyjrs Posted October 22 Author Posted October 22 @Spark-Plugin Worked beautifully and easy to customize. Thank you so much! Spark-Plugin 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment