-
AuthorPosts
-
January 7, 2016 at 8:20 pm #561480
Hello
My client doesn’t like how plain the mobile menu is when the pancake is clicked open. I have changed the background colour but they want to have a logo as well and possibly an image. Could you please tell me how to add in a logo at the top and an image below? Thanks in advance.January 7, 2016 at 8:44 pm #561486I sort of have a fix but it caused a new issue. I made the margin-top 320px so it slides in under the logo but on the iPhone it won;t show the full menu so I added in this, trying to make it scroll, but it’s not working –
.boxed #wrap_all { overflow: visible; /*needed for mobile menu scrolling */ } ul#mobile-advanced { overflow-x: visible; }
Thoughts?
January 7, 2016 at 9:54 pm #561529Hey!
Can we please check your web site, so we can understand the issue live?
Cheers!
BasilisJanuary 7, 2016 at 10:01 pm #561536Sure! I currently have an alpha of 0.9 as the background when the mobile menu opens but what would be ideal is to show the logo at the top or bottom, or logo at top and another picture below the menu. If you look at my child css you’ll see that I’ve commented out the overflow for now as the site is live. Thanks!
Here’s all of the css for the open mobile menu –
/* styling menu when open */ /* .boxed #wrap_all { overflow: visible !important; } ul#mobile-advanced { overflow-x: visible !important; } */ #top .av_header_glassy.av_header_transparency .header_bg { opacity: 0; } .responsive #top .av_header_transparency #header_meta { border-color: #004a5a; } .show_mobile_menu #mobile-advanced { min-height: 1500px!important; padding-top: 0px; padding-bottom: 0px; margin-top: 0px;s border: 0px solid #fff; border-left: 0px solid #004a5a; /* background: #004a5a; */ background-color: rgba(0, 74, 90, 0.9); /* background: url("images/mobileBg.png") !important; */ } #mobile-advanced a { color: #fff; border-bottom-width: 0px; text-align: center; } #mobile-advanced li > a:before, .html_header_mobile_behavior #mobile-advanced span > a:before, #mobile-advanced .mega_menu_title:before { content: "" !important; } .show_mobile_menu #advanced_menu_hide { border: 0px solid #fff; /* top: 95%; */ }
January 8, 2016 at 5:28 am #561828Hi!
Thank you for the info. You can add the logo like this:
#mobile-advanced:before { content: ''; width: 100px; height: 100px; display: block; overflow: hidden; background: url(https://anhandchi.com/wp-content/uploads/2015/10/logoSqNoTag.png) no-repeat center center; background-size: 100% 100%; margin: 0 auto; }
Regards,
IsmaelJanuary 16, 2016 at 11:52 pm #566643Sorry for the long delay replying – that worked very nicely; thank you! :)
January 17, 2016 at 6:19 am #566738 -
AuthorPosts
- You must be logged in to reply to this topic.