Tagged: x
-
AuthorPosts
-
November 30, 2016 at 2:25 pm #1276485
444mediaParticipantFor my site located at crowley.444.media I have created a fairly wide main navigation menu. It looks great on my 27″ large display monitor, but when I size it down to what I think it would look like on a smaller, say 15″, laptop screen, instead of the menu just appearing the same, but smaller, it instead, moves the last item on the bar (“Make A Donation”) to the next line, thus making the blue navigation bar much higher/thicker and makes formatting of the menu items look off.
What would be the best way to handle this issue? I really like the way the navigation looks on the wide screen, so I’d rather not make it more narrow and smaller….but if that’s all I can do to make it look good on a smaller screen, then I guess I might have too(?)
Thanks
November 30, 2016 at 2:57 pm #1276544
donologyParticipantYou can use @media queries in your custom CSS.
CSS:
.x-navbar .x-nav-wrap .x-nav > li > a { letter-spacing: 0.06em; } @media ( min-width: 1200px ) { .x-navbar .x-nav-wrap .x-nav > li > a { letter-spacing: 0.25em; } } @media ( min-width: 1380px ) { .x-navbar .x-nav-wrap .x-nav > li > a { letter-spacing: 0.4em; } }**WARNING** This was tested on the latest version of the Chrome Browser using a Windows PC. You may have to alter it a bit for cross browser compatibility.
November 30, 2016 at 3:07 pm #1276552
JoaoModeratorHello
Please add the following code to Appereance > Customizer > Custom > CSS
@media(max-width: 1380px) { .x-navbar .x-nav-wrap .x-nav > li > a { letter-spacing: 2px; font-size: 10px !important; }}Hope that helps
Joao
November 30, 2016 at 4:17 pm #1276611
444mediaParticipantThanks Joao! You guys are amazing! So fast…and works perfectly.
Thanks so much for the fast reply and perfect fix….X is the only theme I use now and have recommended it often! Really appreciate you guys for making my job so much easier
November 30, 2016 at 4:28 pm #1276621
JadeModeratorYou’re most welcome.
We’re always glad to help. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1276485 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
