- This topic has 11 replies, 3 voices, and was last updated 8 years, 1 month ago by
Tom.
-
AuthorPosts
-
February 8, 2018 at 2:36 pm #491664
Joseph
Hello, I have my secondary navigation in use and have the mobile menu disabled. I also added some CSS to hide the hamburger menu.
Unfortunately, my logo is being cut off when viewed on mobile devices.
My website is philadelphiaautowrap.com
I am on Android. Please don’t just reply and say you aren’t getting it. I have brought it up on several different devices, and with all cookies cleared.
I am using Elementor Builder
February 8, 2018 at 4:50 pm #491725Leo
StaffCustomer SupportHi there,
Just checking, are you referring to your phone number as logo?
February 8, 2018 at 7:31 pm #491795Joseph
Yes I have my phone number as the logo image.
February 9, 2018 at 8:36 am #492326Tom
Lead DeveloperLead DeveloperI can see the issue on Android, but only when scrolling down.
I believe it’s being caused by this custom CSS:
.menu-toggle:before { display: none; }If you don’t want the icon, we can try setting the height on the outer element with this:
.menu-toggle { height: 70px; }Let me know 🙂
February 9, 2018 at 10:35 am #492408Joseph
Ok I added the last bit of css. Still cutting things off. I don’t understand why it is doing this. Check out my other website, phoenixhoodcleaning.net, I didn’t add any custom CSS, and the navigation is configured exactly the same on both sites. The philly auto wrap site was showing a hamburger menu, which I don’t want, and scrolling up to hide part of the logo. The sites are literally exactly the same in Customizer. That I can tell anyways.
February 9, 2018 at 8:26 pm #492681Tom
Lead DeveloperLead DeveloperCan you show me a screenshot of the issue as you’re seeing it? I want to make sure I’m seeing the same thing.
February 10, 2018 at 8:25 am #493003Joseph
Philadelphia Car Wrap Website screenshot from Android browser.
February 10, 2018 at 9:58 am #493064Tom
Lead DeveloperLead DeveloperThe second site doesn’t have this CSS:
.menu-toggle .mobile-menu:empty { display: none; }Can you try removing that from the first site just to see if it fixes the issue?
February 10, 2018 at 11:14 am #493118Joseph
Ok I removed it.
Still does it, and now includes the hamburger menu, which is the reason the CSS was there to begin with. I don’t know why the hamburger is on this site. I didn’t have it on the Phoenix site.
February 10, 2018 at 9:16 pm #493350Tom
Lead DeveloperLead DeveloperThis was a hard one to figure out! I actually think it’s because one of your Elementor sections (the carousel) is causing horizontal scroll.
Can you try adding this CSS?:
.elementor-image-carousel.slick-arrows-outside { display: none; }February 10, 2018 at 9:29 pm #493361Joseph
Wow good find. I would have never thought of that.
I finally got it the way I wanted with this bit of CSS.
.page .entry-header { display: none; } .site-header { display: none; } .elementor-image-carousel.slick-arrows-outside { display: none; } .menu-toggle:before { display: none; }Seems unnecessary to have all that CSS, when the Phoenix site didn’t need any of it.
February 10, 2018 at 9:32 pm #493362Tom
Lead DeveloperLead DeveloperFirst snippet shouldn’t be necessary if you use the Disable Elements metabox to disable the title: https://docs.generatepress.com/article/layout-metabox-overview/
Second is isn’t really necessary if the element has no padding or content, but it doesn’t hurt.
Third one is only necessary because that particular element is causing horizontal scroll.
Last one is necessary for the toggle to go away.
Glad I could help find the culprit! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.