Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #415214

    Hi Guys, tricky one for you… i’m using a transparent header and wanted to use a different logo for the transparent header to when you scroll up to the one that appears on the sticky header, i have achieved this by adding the following code from your support forum:

    .header-scrolled .logo img { opacity: 0; }
    .header-scrolled .logo a { background-image: url(http://kriesi.at/wp-content/themes/kriesi/images/logo.png); background-repeat: no-repeat; background-size: contain; }

    Then i wanted to hide the logo on the transparent header so the logo only appears on the sticky header, i achieved this again by code from the support forum:

    .logo { opacity: 0; }
    .header-scrolled .logo { opacity: 1; }

    So far so goo, so now, on the transparent header on the homepage you can see no logo (although it’s there as you can click on the space it appears in), and when you scroll up, the sticky header kicks in and the second logo is visible, all great… BUT…

    On my ipad and iphone, it hides the logo in the sticky header and mobile header, i’m assuming its pulling in the code to hide the logo, any suggestions, hope it’s clear?

    #415328

    Hey!

    Can you please post the link to your website? :)

    Cheers!
    Yigit

    #415448
    #415544

    Hi, an update: when you hise the logo on the homepage with the transparent header, i have just noticed that the logo is also hidden on the about us page, until you scroll down and the sticky header kicks in, it looks like when you hide the logo on the transparent header, it also hides it on all the other pages too, until you scroll down and the sticky header logo kicks in, so the question i maybe should of asked originally is:

    Using custom css i have created 2 logos one main logo and one for the sticky header, but i only want to hide the main logo on the homepage, but not on any of the others, can this be done and if possible how, thanks guys (ps loving the theme, on my second license and going to use enfold now for all other future projects)… GREAT THEME!

    #415911

    Hey!

    Replace this code:

    .logo {
      opacity: 0;
    }

    with this:

    .home .logo {
      opacity: 0;
    }

    Cheers!
    Ismael

    #415944

    works like a charm! thank you… :-)

    #416261

    Hi!

    Glad we could help :)

    Best regards,
    Rikard

    #417958

    Please mark this topic as resolved, thank you… :-)

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Using Different Logos On Transparent Header and Sticky Header’ is closed to new replies.