Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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!

    #718377

    Hey 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,
    Andy

    #718570

    Hi!

    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

    #718757

    Hi,

    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,
    Andy

    #719056

    Hi 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

    #719609
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.