Tagged: x
-
AuthorPosts
-
February 18, 2017 at 10:57 am #1376344
bperry420ParticipantSite info:
WordPress 4.7.2 running X – Child Theme theme
Cornerstone Version 1.3.3I was able to figure out how to make my mobile menu icon turn green with white bars.
I want it to have green bars when you hover over it.
What is the proper css code for changing the colors for those on hover?Here is the css code I have used so far:
.x-btn-navbar { background-color: #9ba500; padding:10px 15px; color:#fff; margin-top:27px; border-radius: 5px; } .x-btn-navbar.collapsed { background-color: #9ba500; padding:10px 15px; color:#fff; margin-top:27px; border-radius: 5px; } .x-icon-bars { color:#fff; }February 18, 2017 at 11:07 am #1376349
ThaiModeratorHi There,
Please add the following CSS:
a.x-btn-navbar:hover i { color: #9ba500 }Hope it helps 🙂
February 18, 2017 at 4:47 pm #1376547
bperry420ParticipantThanks, but there is one other issue…
When I click on the mobile nav icon, while it’s clicked it shows 4 horizontal lines in the icon.
I only want it to show 3 at all times.February 19, 2017 at 12:23 am #1376772
ChristopherModeratorHi there,
Please remove this code :
a.x-btn-navbar:hover i { color: #9ba500; background-color: #fff; }And add this code :
.x-btn-navbar:hover { color: #fff; } .x-btn-navbar.collapsed:hover { color: #9ba500; background-color: #fff; }Hope it helps.
February 19, 2017 at 9:14 am #1377096
bperry420ParticipantThanks! You guys are the best!
February 19, 2017 at 9:21 am #1377106
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1376344 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
