-
AuthorPosts
-
March 15, 2017 at 6:08 pm #761542
I entered this code in “Quick CSS” of “General Styling” to hide the Fullwith Sub-Menu element on mobile devices:
@media only screen and (max-width: 990px) {
.only-desktop { display: none !important; }}But it does not bring any effect (Custom CSS Class field for all ALB Elements are correctly turned on) – but vice versa with min-with in code, it would work and only shows the element on mobile devices…
Any idea?
- This topic was modified 7 years, 9 months ago by harryriegel.
March 15, 2017 at 6:25 pm #761548Hey harryriegel,
Please provide a link to the site in question, and also admin info so we can look into this further.
Best regards,
Jordan ShannonMarch 15, 2017 at 6:28 pm #761552Thanks for the quick answer :-)
In the private content (beneath) you will find the link to the website.
The sub-menu I talk about, which should vanish on mobile devices, is located right on the index-page under the layerslider at the top.
Regards
Harry- This reply was modified 7 years, 9 months ago by harryriegel.
March 15, 2017 at 6:38 pm #761558I forgot to mention: Thanks for your support! :-)
March 15, 2017 at 8:21 pm #761595Hi,
So you want to remove the menu under the header?
Best regards,
Jordan ShannonMarch 16, 2017 at 10:51 am #761822Correct – The Fullwith Sub-Menu elemen BENEATH the layer-slider.
Best regards,
HarryMarch 16, 2017 at 3:03 pm #761953Hi,
This appears to be fixed. I used the following code:
@media only screen and (max-width: 990px) { #sub_menu1 { display: none !important; }}
Your initial css was not working likely because there is an error somewhere in your quick css. I made sure to add my code to the very top to ensure it runs first. Let me know if this is what you needed.
Best regards,
Jordan ShannonMarch 16, 2017 at 3:05 pm #761956Thank you very much for your time and effort!
I really appreaciate you explanation. So it´s easier for me to learn out of this circumstance.Best regards,
Harry
March 16, 2017 at 3:07 pm #761959No problem at all! I am glad I could help. If you need any additional aid, please don’t hesitate to contact us here.
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.