Tagged: x
-
AuthorPosts
-
March 24, 2017 at 10:33 am #1419129
Hi there! For our website http://www.devideomakers.nl we keep on having the same problem:
When you watch our site on a smaller device, the logo goes over the menu, which looks ugly.
Is it possible to make the logo shrink with the screen getting smaller?Or to make the menu items shrink along, so they won’t go under the logo?
Thanx!
March 24, 2017 at 11:53 am #1419246Hi There,
Please add the following code to Appereance Customizer Custom CSS
@media(min-width: 770) and (max-width: 1200px) { .x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) { font-size: 10px; } .x-brand img { width: 150px; } .x-navbar { height: 83px; }}
Hope it helps
Joao
March 27, 2017 at 5:04 am #1421409Thanx, I tried applying this to our CSS but it didn’t work. Maybe I put it in the wrong place. Could you show me where to put it exactly?
March 27, 2017 at 5:39 am #1421444Hi,
You can add it under WP Dashboard > Appearance > Customize > Custom > Edit Global CSS
March 27, 2017 at 6:32 am #1421485Ah, yes then I did put it in the right place. It doesn’t change anything in the website and menu bar for as far as I can see.. Still the logo sometimes goes over the menu items.
March 27, 2017 at 7:23 am #1421539Hi,
You can add this under Custom > Edit Global CSS in the Customizer.
@media (max-width: 1075px) { .x-nav-wrap.desktop { display: none; } .masthead-inline .x-btn-navbar { display: block; float: right; } .x-nav-wrap.mobile { display:block; } .x-nav-wrap.mobile.collapse { display:none; } .x-nav-wrap.mobile.collapse.in { display:block !important; } }
Hope that helps
March 27, 2017 at 12:03 pm #1421901Hi Paul! Thanx for helping me out – but unfortunately this doesn’t seem to work. Still part of the time the menu items go under the logo, making the menu bar stretch.
Would there be anything else I could try?
March 27, 2017 at 12:41 pm #1421947Hi There,
Please replace the provided code by paul with:
@media (max-width: 1075px) { .x-nav-wrap.desktop { display: none; } .masthead-inline .x-btn-navbar { display: block; float: right; } .x-nav-wrap.mobile { display:block; } .x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) { padding-left: 14px; padding-right: 14px; font-size: 11px; padding-left: 10px; padding-right: 10px; }}
Hope it helps
Joao
March 28, 2017 at 6:40 am #1422868Hi Joao, thanx for looking into this problem with me. Unfortunately still it doesn’t solve it.
Maybe I haven’t stated the problem clear enough? Thing is as follows. On a wide screen the menu bar looks like the first picture. But when the screen get’s smaller it goes to the second picture (menu items under the logo – ugly!) and when the screen get’s even more smaller, it goes to the third picture (with the menu fully folded in)
March 28, 2017 at 7:57 am #1422960Ah wait, I did implement the last code in the wrong way, something does change!
But it still goes in a weird way in between stages (picture 2). With the menu items under each other, taking too much space as well.
Maybe it’s better if it goes from picture 1 to picture 3 at once?March 28, 2017 at 8:01 am #1422963This is picture 2
March 28, 2017 at 12:16 pm #1423203Hi 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!
March 30, 2017 at 4:59 am #1425176This reply has been marked as private.March 30, 2017 at 7:49 am #1425257Hi,
I went ahead and updated the code.
This is how it works on my end.
See Video – https://www.screencast.com/t/zcves9Z0Ix
March 30, 2017 at 10:31 am #1425393This reply has been marked as private. -
AuthorPosts