Tagged: x
-
AuthorPosts
-
March 8, 2017 at 9:35 pm #1400057
DanielParticipantHi there,
I’m having issues with the logo sizing on tablet and smaller devices. Currently, I’m shrinking the menu navbar text with this css:
/* header font size on mobile */ @media screen and (max-width: 1245px){ .x-navbar .x-nav > li > a { font-size: 11px !important; } } @media screen and (max-width: 1110px){ .x-navbar .x-nav > li > a { font-size: 11px !important; } } @media screen and (max-width: 1045px){ .x-navbar .x-nav > li > a { font-size: 10px !important; } }And am trying to shrink the logo along with it, but it’s not working. Basically, the main problem is that the menu items pop below the logo on certain tablet sizes. Not good. It needs to either stay flat across all devices, or pull the mobile navbar button sooner.
I currently have this code trying to shrink the logo on tablet devices, but it’s not doing anything:
/* mobile logo size */ /* Portrait and Landscape */ @media only screen and (min-device-width: 924px) and (max-device-width: 1124px){ .x-brand img { width:27%; position: absolute; top: 20px; } }Could you help me with this? I’m open to doing anything that will do the above: making sure the menu items do not pop below the logo on any screen size. Either keep everything flat and shrink all items as the screen gets smaller, or have the mobile navbar pop out sooner.
Thanks!
March 8, 2017 at 9:36 pm #1400059
DanielParticipantThis reply has been marked as private.March 9, 2017 at 12:59 am #1400188
FriechModeratorHi There,
Thanks for writing in! Please check your entire custom CSS here: http://csslint.net and resolve all the syntax errors.
Only then add this custom CSS to resize the logo on certain screen width.
@media (min-width: 980px) and (max-width: 1125px) { .x-brand.img { width: 10%; } }Let us know how it goes.
Cheers!
March 9, 2017 at 12:46 pm #1400846
DanielParticipantAwesome. Got it. Thank you!
March 9, 2017 at 2:31 pm #1401008
JoaoModeratorYou are welcome 🙂
March 10, 2017 at 11:54 am #1402142
DanielParticipantHey,
Sorry. I just noticed there is a zoom issue happening on mobile devices. Whenever you zoom, it blows up the header and logo beyond the ability to even see what’s below.
Do you know how to fix this?
March 10, 2017 at 2:39 pm #1402298
JadeModeratorHI there,
Would you mind elaborating what do you mean by zooming the logo on mobile?
I tried checking it and it seems to be working fine.
Thank you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1400057 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
