New Landing How can we help? Cardinal Can I disable the "Sticky Header" on certain pages?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Cardinal
  • #105580
    Sotiris
    Member
    Post count: 181

    I am using the “Sticky Header” option throughout the site but there are certain pages that it is not really needed and can get in the way of some tabs, buttons, etc, since there is very little scrolling down involved.

    Unless I am missing something I don’t see any option for that so I guess CSS is needed.

    How can I disable the sticky header (and menu) in those pages?

    Any feedback would save me some really precious time. Thanks in advance.

    Sotiris

    #105721
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Try this:

    .page-id-5 .sticky-wrapper.is-sticky {
      display: none;
    }

    Make sure you change the page id

    – Kyle

    #105787
    Sotiris
    Member
    Post count: 181

    Oh yes, it works!

    Thanks a lot.

    #105789
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great, no problem

    – Kyle

    #116400
    mkh
    Member
    Post count: 8

    Yes it works but…
    It there’s scroll problem ! When I scroll down, it’s like the scroll was doing Mouse wheel down / Mouse Wheel up…

    ///// BETTER WAY //////

    To avoid the scroll issus, take this tricky css :

    .page-id-xxxxx #header-section .is-sticky #main-nav.sticky-header {
    position: static !important;
    }

    #116402
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok thanks

    – Kyle

Viewing 6 posts - 1 through 6 (of 6 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