Created
February 26, 2018 07:33
-
-
Save kmindi/d80d5d030b6c46061f7246044697a5b5 to your computer and use it in GitHub Desktop.
fixed sticky header on smartphones small devices with enfold wordpress theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* https://kriesi.at/support/topic/sticky-header-for-smart-mobile-phone/ */ | |
| /* sticky header on smartphone */ | |
| .html_header_top.html_header_sticky #header { | |
| position: fixed !important; | |
| } | |
| @media only screen and (max-width: 767px) { | |
| .responsive #main { | |
| padding-top: 0px !important; | |
| margin-top:80px !important; /* fix for slide-show on start page, 80 px is max-height of header. */ | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment