greeniglu Posted March 5, 2020 Share Posted March 5, 2020 (edited) Site URL: https://bassoon-oleander-texb.squarespace.com/ Password: 12345 Very new to this! I'm trying to make the green hover background for the text take up the full space in the folder nest (between each line) without affecting the padding of the text itself. Right now there's a white margin around the hover background due to the padding. Here's the code I'm using: .header-nav .header-nav-item--folder .header-nav-folder-content { top: auto; left: 0em; text-align: left; width: 175px; font-size: 14px; padding-top: 0px; padding-bottom: 0px; padding-left: 3px; padding-right: 3px; } .header-nav-folder-item { color: #fff ; border-top: 1px solid #b8b8b8; padding: 7px 0 !important; } .header-nav-folder-item a:hover { background: #77AF87; color: #fff !important; } Any help would be greatly appreciated! Edited March 8, 2020 by greeniglu Link to comment
Solution tuanphan Posted March 10, 2020 Solution Share Posted March 10, 2020 Add to Home > Design > Custom CSS .header-nav-folder-item a { padding: 7px !important; } .header-nav-folder-item { padding: 0 !important; } .header-nav-folder-content { padding: 0 !important; } greeniglu 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
greeniglu Posted March 16, 2020 Author Share Posted March 16, 2020 Thank you @tuanphan! 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