New Landing How can we help? Themeforest Theme Support Dante Naked header broke on latest theme update

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #84406
    novakben
    Member
    Post count: 24

    Hi!
    Since your latest theme update (from last week), the naked header broke (ON MOBILE DEVICES ONLY).
    You can see it on my site: http://www.wedivite.com.

    Please assist urgently!

    Thanks

    #84853
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    Looks like you might be missing some custom css:

    .page-id-15 .is-sticky #header-section::before {
    background: #222;
    }

    That should do it!

    – Ed

    #84855
    novakben
    Member
    Post count: 24

    Well it placed the gray header, but it still doesn’t have the same effect as it had, like when viewing my site from a desktop device. It used to use the offset logo and then switch when moving to sticky header with white background.

    Why did it change in the update anyway? :/

    Thanks

    #84856
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    It changed as we fixed an issue with sticky mobile headers in the last update.

    Sorry, you need to add some more code:

    .page-id-15.mobile-browser .sticky-wrapper {
    position: absolute;
    width: 100%;
    top: 0;
    }
    .page-id-15.mobile-browser .header-wrap {
    top: 0;
    }

    You can change the colour of the mobile header, but seems your logo (retina) is white?

    – Ed

    #84857
    novakben
    Member
    Post count: 24

    Yeah it’s white but it should change to the offset version, just like if you access the same front page with a desktop device. try it and see please.

    Thanks! ๐Ÿ™‚

    #84860
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Ahh I see, this should be the full code you need to add to fix:

    .page-id-15 .is-sticky #header-section::before {
    background: #fff;
    }
    .page-id-15.mobile-browser .sticky-wrapper {
    position: absolute;
    width: 100%;
    top: 0;
    }
    .page-id-15.mobile-browser .is-sticky #logo img.retina {
    display: block!important;
    }
    .page-id-15.mobile-browser .is-sticky #logo a {
    color: #222;
    }

    Let me know!

    – Ed

    #84864
    novakben
    Member
    Post count: 24

    Almost!!! yay we’re getting there ๐Ÿ™‚

    Now we have duplicate logos :/ but it almost looks the same.

    #84866
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Sorry, missed that. Here is the code for that:

    .page-id-15.mobile-browser .is-sticky #logo {
    background: none;
    }

    – Ed

    #84878
    novakben
    Member
    Post count: 24

    IT WORKS!

    thanks Ed, have a great week!

    #84880
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Glad I could help – thanks, you too! ๐Ÿ™‚

    – Ed

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register