Tagged: x
-
AuthorPosts
-
January 30, 2017 at 8:35 am #1350789
Kalle JohanssonParticipantHi,
A navbar dropdown menu disappears a second or so after the pointer is moved away from it. I find that a bit sluggish. Could I shorten this delay time?
(website: http://klimatriksdagen.se/)
January 30, 2017 at 8:55 am #1350832
RahulModeratorHey There,
Thanks for writing in.
You can avoid this delay by adding following under Custom > CSS in the Customizer :
/* Avoiding Submenu Delay */ .x-navbar .desktop .x-nav li:hover > .sub-menu { display: block; }Let us know how it goes!
January 30, 2017 at 9:04 am #1350847
Kalle JohanssonParticipantThat did not work. The delay persists. Sorry.
January 30, 2017 at 9:56 am #1350925
RupokMemberHi there,
Thanks for updating but I can’t see any delay now. Can you check again and make sure?
Cheers!
January 30, 2017 at 11:09 am #1351040
Kalle JohanssonParticipantPlease see attached video. I have cleared the WP SuperCache twice, without change. Does it look differently at your end?
January 30, 2017 at 12:47 pm #1351163
JadeModeratorHi Kalle,
Please try to add this in the customizer:
.x-navbar .desktop .x-nav li > .sub-menu { display: none; } .x-navbar .desktop .x-nav li:hover > .sub-menu { display: block; }Hope this helps.
January 30, 2017 at 1:25 pm #1351217
Kalle JohanssonParticipantIt did. Thanks a lot!
Another question: I managed to format the menu using this
.x-navbar .sub-menu { background-color: #00AEEF; font-size: 15px; text-align: right; }However “font-style: bold;” did nothing. Also, can the font itself be changed?
January 30, 2017 at 5:57 pm #1351503
FriechModeratorHi There,
font-style only accept normal, italic, or oblique.
Use font-weight instead.
header .x-navbar .desktop .sub-menu a { font-weight: 800; font-family: cursive; }Where cursive is the name of the font that you want to use. 800 is how thick the text would be (100 thin – 900 bold)
Hope it helps, Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1350789 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
