Tagged: x
-
AuthorPosts
-
April 30, 2016 at 9:37 pm #907401
EnchantedForest16ParticipantI am looking for a simple solution to remove the custom css code we added into the x-nav. Currently the theme has a button, which has been adjusted through margins. When on mobile the margins cause the menu to overlap the inherent lines, and the colored button looks off. Do you have a code to revert the mobile portion back to it’s original state, without affecting the css code added to the site?
http://www.enchantedforestmendo.com/
thanks!
May 1, 2016 at 6:53 am #907757
ThaiModeratorHi There,
Please update your custom CSS to this:
.x-navbar .desktop .x-nav > li.request-demo > a { color: #fff; background: #eeb819; -moz-box-shadow: 0px 0px 16px 4px #5863dd; -webkit-box-shadow: 0px 0px 16px 4px #5863dd; box-shadow: 0px 0px 16px 4px #5863dd; } .x-navbar .desktop .x-nav > li.request-demo > a:hover { background-color: #fed351; color: #fff; -moz-box-shadow: 0px 0px 16px 4px #5863dd; -webkit-box-shadow: 0px 0px 16px 4px #5863dd; box-shadow: 0px 0px 16px 4px #5863dd; }Hope it helps 🙂
May 6, 2016 at 9:13 pm #979669
EnchantedForest16ParticipantAwesome! You fixed the glow code, perfectly.
Now, is there a way to adjust the margin on MOBILE, so when the menu is reduced, the words are centered between the lines? Also, is there a way to remove the yellow/glow only on Mobile, but keep it on desktop?
May 6, 2016 at 9:15 pm #979674
EnchantedForest16ParticipantThe screenshot I attached didn’t work… so here it is again.
May 7, 2016 at 2:31 am #979889
ChristopherModeratorHi there,
Please add this :
.x-navbar .mobile .x-nav > .menu-item>a { padding-bottom: 33px; }Update previous code to :
@media (min-width:979px){ .x-navbar .desktop .x-nav > li.request-demo > a { color: #fff; background: #eeb819; -moz-box-shadow: 0px 0px 16px 4px #5863dd; -webkit-box-shadow: 0px 0px 16px 4px #5863dd; box-shadow: 0px 0px 16px 4px #5863dd; } .x-navbar .desktop .x-nav > li.request-demo > a:hover { background-color: #fed351; color: #fff; -moz-box-shadow: 0px 0px 16px 4px #5863dd; -webkit-box-shadow: 0px 0px 16px 4px #5863dd; box-shadow: 0px 0px 16px 4px #5863dd; } }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-907401 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
