-
AuthorPosts
-
September 11, 2017 at 10:59 am #850414
Hi
When viewing on a small screen size (before the tablet/phone mode kicks in) I’ve noticed that our first menu item overlaps and is hidden by our logo. How can we solve this please?I tried the fix here (http://kriesi.at/documentation/enfold/menu-overlaps-logo-on-tablets/) by adding the code at the bottom of the Quick CSS window, but it made no difference.
Also, at some point between being a small screen and switching to tablet/phone mode I noticed that there is no menu at all – the main top menu disappears, but the burger menu has not yet loaded.
Thanks
AngusSeptember 11, 2017 at 8:09 pm #850652Hey Angus,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (min-width: 990px) and (max-width: 1255px) { nav.main_menu, .av-burger-menu-main.menu-item-avia-special { display: block; } .menu-item { display: none; } }
If the code above does not help, please disable cache and mininfication and get back to us.
If you need further assistance please let us know.
Best regards,
VictoriaSeptember 12, 2017 at 6:49 am #850768Didn’t work in Quick CSS.
We run a child theme for enfold, so created a CSS folder in there and copied the custom.css from the main theme, and pasted the code in there, themes/enfold-child/css/custom.css. That didn’t work so I tried it in the themes/enfold/css/custom.css, which also didn’t work.
In all cases added it under /* General Custom CSS */ as opposed to Desktop Only or Mobile Only
Using Fast Velocity Minify and WP Fastest Cache. I used the latter to delete cache & minified CSS/JS, still made no difference after reloading the page.
I deactivated the Fast Velocity Minify plugin, again deleted cache & minified CSS/JS, and this time it worked with the code here themes/enfold/css/custom.css, but not in the child theme.
There is still slight overlap by the left hand menu item, what part of the code do I need to edit to change this?
The good news is that the burger menu appears as soon as the main top menu disappears, and vice-versa.
Does this mean I will have to re-paste this code every time I update the Enfold theme?
Can I turn FVM on again, or do I need to leave it deactivated?
Many thanks
AngusSeptember 13, 2017 at 6:23 am #851370Hi,
Please remove the css modification then go to the Enfold > Main Menu > General panel. Set the “Menu Items for mobile” to the second option then add the CSS code to force the mobile menu to display when the screen width is less than 1366px.
@media only screen and (max-width: 1366px) and (min-width: 768px) { .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item { display: none; } .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special { display: block; } }
Make sure that you’re not looking on a cached or minified version of the site.
Best regards,
IsmaelSeptember 13, 2017 at 10:29 am #851499OK, done.
It solves the issue of the left hand menu item overlapping, but brings back the issue that there is a range of screen width’s that have neither the top main menu, nor the burger mobile menu.
Thanks
September 14, 2017 at 8:28 am #851904Hi,
The menu is not visible on certain screen sizes because of the following css modification.
nav.main_menu { display: none; }
Please remove it.
Best regards,
IsmaelSeptember 14, 2017 at 9:40 am #851938Hi Ismael, Where would I find this piece of code to delete it?
I looked in Quick CSS, the custom.css, style.css.
ThanksSeptember 15, 2017 at 9:50 am #852435Hi,
It’s in the Quick CSS field. If you can’t find it, post the login details here so that we can remove it.
Best regards,
IsmaelSeptember 15, 2017 at 5:46 pm #852610Hi Ismael,
It’s not. Here’s the entirety of my Quick CSS from Enfold Child > General Styling > Quick CSS
Cheersul.icon-bullets li {
list-style: none;
}ul.icon-bullets li {
padding-left: 8px;
}ul.icon-bullets li:before {
content: ‘\2713’;
font-family: ‘entypo-fontello’;
font-size: 23px;
font-weight: normal;
position: absolute;
left: 6px;
}.avia-fullscreen-slider {
z-index: 1 !important;
}.avia-section {
min-height: 0px !important;
}#mobile { display: none; }
@media only screen and (max-width: 767px) {
#mobile { display: block !important; }
}.avia_ajax_form p {
margin: 2px 0;
}#footer .widget {
margin: 0;
}@media only screen and (max-width: 767px) {
#fullscreen_slider_0 { display: none;}
}.av-border-cells .flex_cell {
border-left-width: 10px;
}#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
background-color: #eded00 !important;
color: #e01C23;
border: #eded00;
}.main_menu .menu ul {
width: 280px;
}#fullwidthsection .container {
width: 100% !important;
padding:0px;
max-width: none !important;
}
.avia-section.av-minimum-height .container .content p{
margin:0px;
}
@media only screen and (max-width: 1366px) and (min-width: 768px) {
.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item {
display: none;
}.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special {
display: block;
}
}September 16, 2017 at 7:04 am #852823Hi,
Did you install an “optimizaton or minification” plugin? The css codes are added internally. Why is that? Please post the login details here so that we can check the settings.
Best regards,
IsmaelSeptember 17, 2017 at 10:57 am #853041This reply has been marked as private.September 19, 2017 at 6:52 am #853714Hi,
Please disable the plugins then add the css code. Remove the cache before enabling the plugins again.
Best regards,
IsmaelSeptember 24, 2017 at 8:09 am #855990Thanks Ismael, that seems to have fixed it.
September 24, 2017 at 7:19 pm #856203Hi SuperSportsUAE,
Glad we got things working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaOctober 2, 2017 at 6:42 am #859095Hi, sorry to bring this up again, but having transferred the set-up to the live site, we’re now having issues again!
This time it appears to be related to people using the zoom function in their browsers and finding a view that removes both the main menu and the burger menu from their screens.
ThanksOctober 2, 2017 at 7:12 am #859105Further info – on my Mac, zooming in Chrome has no effect on the view, in Safari, half our logo is obscured by the photo below it on the homepage.
What I have on Safari is happening on Windows laptops when using zoom.Thanks
October 2, 2017 at 8:12 am #859131I’ve noticed that somehow I’ve managed to get the page to regress back to a stage where with certain screen sizes there is no menu at all.
October 3, 2017 at 8:43 am #859502Hi,
You forgot to set the Menu Items for mobile to the second option. We reset the css codes and removed the modification in the style.css file.
@media only screen and (max-width: 1200px) { #mobile-advanced, #advanced_menu_toggle, #advanced_menu_hide { display: block; } nav.main_menu { display: none; }}
Please disable the cache plugin temporarily before checking the page.
Best regards,
IsmaelOctober 3, 2017 at 10:47 am #859575Thanks for doing that but I’m still seeing the same issue: a full menu, then a burger menu with normal page, then no menu at all, then a burger menu back with normal screen and then burger menu with mobile screen.
I started by emptying the cache, and updating the page, then refreshed the website page, then deactivated the cache plugin, and repeated.
ThanksOctober 4, 2017 at 7:59 am #859959Hi,
I can’t see the issue anymore. The menu switches automatically when the screen size is less than 1366px which is the screen size of an iPad Pro device.
Best regards,
IsmaelOctober 4, 2017 at 9:06 am #860040I’m still getting it at certain sizes, and I think it’s to do with people zooming the screen view, so the screen size doesn’t conform to standard sizes.
Other than different devices (27″ iMac Safari & Chrome, Note 4 Android, iPad 2) I also check by changing the size of the browser window to emulate this.
Once the menu disappears, I stop changing the window size and refresh, and still neither type of menu is visible.
I don’t have this issue with Safari only with Chrome on my iMac.
Thanks
October 5, 2017 at 5:41 am #860411Hi,
Please make sure that you’re not looking on a cached version of the page. Remove the browser cache. I can’t reproduce the issue even if I zoom the browser in and out. Screenshots.
1367px and 1366px screen size: https://imgur.com/a/l6k20
Best regards,
IsmaelOctober 5, 2017 at 7:09 am #860460My apologies Ismael I was so involved in the technical & back-end processes I completely forget the most elementary form of cache clearing!
Thanks for all your assistance & patience :-)
October 7, 2017 at 2:31 am #861226 -
AuthorPosts
- The topic ‘left hand menu item overlaps logo & disappears, & some screen sizes have no menu’ is closed to new replies.