Tagged: x
-
AuthorPosts
-
June 6, 2016 at 5:11 am #1027723
JohanschackParticipantHi,
Is it possible to make the logo text responsive, instead of being in px, so that it is a bit smaller on other screens?
I have attached an image of how it stacks on smaller screens, even though I want the logo to be inline with the menu.
Is there some CSS that can fix this?
Best regards,
JohanJune 6, 2016 at 5:32 am #1027745
ThaiModeratorHi Johan,
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.
June 6, 2016 at 5:35 am #1027750
JohanschackParticipantImage here
June 6, 2016 at 5:36 am #1027751
JohanschackParticipantImage was too large :O
June 6, 2016 at 7:28 am #1027886
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.
Thanks!
June 6, 2016 at 7:41 am #1027906
JohanschackParticipantHi,
I have of course thought of this. The issue is that it looks perfect on my computer, but when moving to a smaller screen like a tablet or a phone, the size is too big. Can i add some custom CSS to make the text smaller if I’m on a phone or tablet? If so, what is it?
Thanks
June 6, 2016 at 8:55 am #1028029
JoaoModeratorHi There,
Add the following code at your appereance / Customizer / Custom / CSS
Please use the following code for tablets
@media(max-width: 979px){ .x-navbar .x-brand { font-size: 75%; }And this for mobiles:
@media(max-width: 500px){ .x-navbar .x-brand { font-size: 30%; }Adjust the values of 75% and 30% according to your needs.
Hope that helps,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1027723 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
