Tagged: x
-
AuthorPosts
-
May 25, 2016 at 3:40 am #1008689
ValerioParticipantHi,
i have added some menu items to my main menu navbar, now upon resizing of the window, the menu goes on two lines before being turned into the icon. The icon menu appears at 890px wide but I’d like this to happen at 1010px to avoid the two lines menu.
Please check the attached screenshot.How can i do that?
May 25, 2016 at 3:40 am #1008691
ValerioParticipantThis reply has been marked as private.May 25, 2016 at 4:21 am #1008734
ChristianModeratorHey 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.
Thanks!
May 25, 2016 at 6:58 am #1008902
ValerioParticipantI don’t understand your reply…
Did you mean that there is no way to change the width at which the menu icon will replace the full menu, and i can only try to have menu items smaller to make them fit there?Kindly
May 25, 2016 at 7:53 am #1008964
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> CSS :
@media (max-width: 1010px){ .masthead-stacked .x-btn-navbar { display: inline-block; } .x-nav-wrap.desktop { display: none; } .x-nav-wrap.mobile.collapse { display: none; } .x-nav-wrap.mobile.collapse.in { display: block; } }Hope it helps.
May 25, 2016 at 8:37 am #1009043
ValerioParticipantMany thanks!
this is exactly what i was looking for.May 25, 2016 at 9:10 am #1009093
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1008689 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
