Carrian Posted July 5, 2020 Share Posted July 5, 2020 (edited) Site URL: https://sparkotechengineering.squarespace.com/ Help Please! I want to make the drop down of my categories have some space or borders. Tried to code it but i can't make it work. Edited July 5, 2020 by Carrian Link to comment
Solution rwp Posted July 5, 2020 Solution Share Posted July 5, 2020 Not exactly sure what you want it to look like, but see if this helps. design -> custom css .header-nav-folder-item { padding: 5px; } Carrian 1 Link to comment
Carrian Posted July 5, 2020 Author Share Posted July 5, 2020 @rwp It actually worked! One more thing what code to use if i'm going to put borders in it Link to comment
rwp Posted July 5, 2020 Share Posted July 5, 2020 What do you want borders around? Each item or the whole folder? Link to comment
rwp Posted July 5, 2020 Share Posted July 5, 2020 .header-nav-folder-content { padding: 0px !important; } .header-nav-folder-item { padding: 5px; border-width: 1px 1px 0px 1px; border-style: solid; border-color: black; } .header-nav-folder-content:last-child { border-bottom: 1px solid black !important; } .header-nav-folder-item:hover { background-color: #dddddd; } The last block will change the background color on mouse over too, you can change the color or leave it out if you don't like it. 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