• Is there a way for the header (with menu and search buttons) to remain at the top of the page during scrolling? Basically have a floating header.

    • This topic was modified 7 years, 8 months ago by diggisaur.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor WPtouch

    (@wptouch)

    Hi @diggisaur,

    Yes, there is. You can accomplish what you’re after by adding the CSS below to Appearance > Customize > Custom CSS.

    
    header {
    position: -webkit-sticky !important;
    left: 0 !important;
    right: 0 !important;
    top: 0px !important;
    }
    

    Save the changes and it should take effect.

    Regards,

    Emilio Rivera
    WPtouch Support

    Thread Starter diggisaur

    (@diggisaur)

    Hmm added the code to Customize > CSS under the mobile theme. Cleared all caches and CDNs. Doesn’t seem to make a difference.

    works4me…perhaps ur hosting provider slipped in some must-use-plugins…bluehost dropped these in /wp-content/mu-plugins-bh:
    endurance-browser-cache.php
    endurance-page-cache.php

    Thread Starter diggisaur

    (@diggisaur)

    It’s weird. I see both “Additional CSS” and “Custom CSS” as options under the mobile theme in the customizer. Although adding any CSS to either does not seem to take. Wonder what plugin may be causing a conflict.

    Using GoDaddy with Genesis Framework.

    • This reply was modified 7 years, 7 months ago by diggisaur.
    Plugin Contributor WPtouch

    (@wptouch)

    @diggisaur,

    We have seen some desktop themes and/or plugins add their own “Additional CSS” option in the Customizer, but please make sure the CSS provided is added to the “Custom CSS” one which is WPtouch’s.

    If it continues to not work, check for any cache plugins like @airdrummer said. If you host with Bluehost, then they recently added their own cache plugin. You can also share the URL of the website in question here and we’ll take a look.

    Regards,

    Emilio Rivera
    WPtouch Support

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is there a way for the header to remain on the page?’ is closed to new replies.