-
AuthorPosts
-
November 28, 2016 at 2:52 am #717535
Hi guys
I’ve searched high and low .. .and tried some quick CSS from other threads but it creates issues.
Request please
(1) transparent header on mobile – this is the easy bit with quick CSS from previous threads
(2) AND transparent logo (image under enfold …header … transparency) on ,mobile … previous quick CSS creates a problem see below.(1) The following quick CSS works for transparent header (this is currently set and works fine):
@media only screen and (max-width: 767px) {
#top #wrap_all .av_header_transparency {
background-color: transparent;
position: absolute!important;
}}(2) This is the tricky bit – getting the transparent logo to work on mobile.
I borrowed this from a previous thread … but the code means that the individual content at the top of all the posts/pages are missing:@media only screen and (max-width: 767px) {
#top #wrap_all .av_header_transparency, .av_header_transparency #advanced_menu_toggle { background-color: transparent; }
.responsive #top #wrap_all #header { position: absolute; }}
@media only screen and (max-width: 767px) {
.responsive #top .av_header_transparency.av_alternate_logo_active .logo a > img {
opacity: 0;
}
.responsive #top .av_header_transparency .logo img.alternate {
display: block;
}}
Really appreciate your help here guys!
November 29, 2016 at 5:21 pm #718377Hey richardbeatty,
you could hide your logo on mobile, to display your tranparent image only:
@media only screen and (max-width: 989px) { strong.logo { display: none !important; }}
Then for your mobile menu use this:
@media only screen and (max-width: 989px) { #advanced_menu_toggle { top: -31px; background: transparent !important; border: 1px solid black !important; }}
Best regards,
AndyNovember 29, 2016 at 11:19 pm #718570Hi!
Thanks, really great – that does look good.
I just wonder in future though – as I have another site I really want to use TRANSPARENT LOGO ON MOBILE – whether there is a solution?
(if anyone else looks at this thread – the above code makes the header transparent, and uses an image instead of the transparent logo)This is an issue that hasn’t been resolved on previous threads !
Thankyou so much for your help!
Cheers
Richard
November 30, 2016 at 1:56 pm #718757Hi,
a logo is an image, which can’t be made transparent. You need to use a different logo for mobile, a transparent one. So you would do the same I already provided to you.
Best regards,
AndyDecember 1, 2016 at 2:59 am #719056Hi Andy
Thanks for getting back! OK, let me explain as we’re not quite on the same wavelength :-)
Enfold / Header / Transparency Options “Upload a logo image”
This image “shows” on non-mobile.
On mobile, the theme uses the standard logo.The request is to make the image uploaded above “appear” on mobile – as it does non-mobile.
(There are lots of CSS snippets on previous posts to make mobile header transparent, but not for the image above to be used).
Thanks
Richard
December 2, 2016 at 11:17 am #719609Hi,
check out our documentation: http://kriesi.at/documentation/enfold/change-logo-on-mobile/
Also search for this inside our forum: https://kriesi.at/support/topic/how-to-make-mobile-logo-transparent-when-there-may-already-be-existing-css/#post-616910
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.