Tagged: x
-
AuthorPosts
-
November 9, 2016 at 4:43 am #1249813
kboslandParticipantHello
reviewing another thread I put in this code, it does not seem to be working though. I need my menu to not drop below on mid size screens.
@media (min-width: 990px) and (max-width: 1190px) {
.x-navbar .x-nav {
font-size: 9px;
}
}November 9, 2016 at 5:29 am #1249868
ChristopherModeratorHey there,
Thanks for writing in! This particular situation is simply a matter of reworking your content to properly fit the physical limitations presented by the theme (this is a consideration that must be taken into account with all themes and designs). It is the same principal applied to filling up a room with furniture—there is only so much that can fit into a given space. The following should be considered in these situations:
- Logo Size – longer logos will conflict with navigation items as you size your site down. If you are noticing a conflict, you may need to implement some CSS to size down your logo as viewports get smaller.
- Shorter Names – you should always shoot to have your top-level navigation links be as simple as possible. For example, if your link is “Learn About My Company,” Try using “About” instead. It conveys the same idea and will save you a ton of real estate.
- Rearrange – sometimes we want to put all of our links in the top-level navigation, but not all pages are created equally. Pages of lesser importance that pertain to a parent link might work well as a sub-menu instead.
- Less Links – even on more “complex” websites with lots of pages, there are always ways to combine information together to make things simpler, which also ensures that your user doesn’t have to click around for every granular piece of information. For example, you might have two top-level links called “About” and “Contact,” which could possibly be combined into one. This eliminates the need for extra links and makes things much simpler for your users to navigate. Less is more in information architecture.
- Appearance – fortunately X features plenty of options for adjusting the appearance of elements throughout your site, and the navbar is one of the more flexible elements. Try using a smaller font size if possible to save on a little real estate.
If you still want to use media query, please update your code to :
@media (min-width: 990px) and (max-width: 1190px) { .x-navbar .x-nav li a{ font-size: 9px; } }Thanks!
November 9, 2016 at 7:16 am #1249990
kboslandParticipantHi,
I am aware of all these issues, and want to use the above code. However it is not shrinking the font size and I continue to have the same problem. I changed the font size down to 1px just to test it and it does not change in this screen size. Do you have any idea what might be wrong? Thanks, KathyNovember 9, 2016 at 7:44 am #1250024
JadeModeratorHI Kathy,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
November 9, 2016 at 7:54 am #1250034
kboslandParticipantcarbonclinic.com
November 9, 2016 at 9:18 am #1250160
JoaoModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1249813 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
