Tagged: x
-
AuthorPosts
-
November 25, 2016 at 10:03 am #1270660
Craig Allan Teich | FormulaWPParticipantI’m attempting to style one navigation item to resemble a button. I’ve cobbled together the information from a few past forum posts and I’ve almost gotten the desired effect. But now I’ve exhausted my limited CSS powers and need a bit of guidance from the experts.
The site is https://FormulaWP.com
The custom CSS I have currently for this item is:
/* NAVIGATION - ADD BUTTON STYLING TO GET STARTED MENU ITEM */ .x-navbar .x-nav li.x-btn.menu-item {margin:15px 0px 0px 15px; padding: 19px 20px 18px 20px; height:58px; color: white; background-color: #008aad; border-color: #008aad;} .x-navbar .x-nav li.x-btn.menu-item a {color: white; box-shadow: none; padding:0;margin:0;} .x-navbar .x-nav li.x-btn.menu-item:hover {margin:15px 0px 0px 15px; padding: 19px 20px 18px 20px; height:58px; color: white; background-color: #00ad08; border-color: #00ad08;} .x-navbar .x-nav li.x-btn.menu-item a:hover {color: white; box-shadow:none; border:none;}The only thing I’m trying to do that I’ve been unsuccessful with is removing the line that shows up below “Get Started” upon hover. Can you please suggest a bit of code that will accomplish that, please?
THANKS!
November 25, 2016 at 10:13 am #1270667
Prasant RaiModeratorHello Craig,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
li#menu-item-480 a:hover span { box-shadow: none !important; }Let us know how it goes.
Thanks.
November 25, 2016 at 10:48 am #1270704
Craig Allan Teich | FormulaWPParticipantPERFECTION!
Thanks! You guys rock as usual.
November 25, 2016 at 10:50 am #1270707
JoaoModerator🙂 Thanks for the kind words.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1270660 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
