skali Posted March 4, 2022 Share Posted March 4, 2022 Site URL: https://kazoo-chipmunk-khcn.squarespace.com/ I'm looking to add a button to the primary header nav, but it's also appearing below in the folder dropdown menus. Could anyone help me isolate the button to only appear in the main nav and not in any dropdown folders? This is the 7.0 template, Five, and I'm using the following code: nav#main-navigation ul li:last-child a { background: #000000; color: #ffffff !important; padding: 10px 20px !important; border-radius: 30px; border: 2px solid #ffd966; } https://kazoo-chipmunk-khcn.squarespace.com/ PW: Sunshine012! Thank you! Link to comment
tuanphan Posted March 6, 2022 Share Posted March 6, 2022 Use this new code nav#main-navigation>ul>li:last-child a { background: #282828; color: #fff !important; padding: 10px 20px !important; border-radius: 30px; border: 2px solid red; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (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