Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #919754

    Hi

    A few days ago I asked how to make the header stick on the phone and you gave me the following code:

    @media only screen and (max-width: 767px) {
    .responsive #top #wrap_all #header {
    position: fixed;
    }
    }

    That worked but I have just noticed that the content is then cut off at the top – it seems to be going underneath the header. Its most obvious on the this page: http://roadies.coach/terms-conditions/

    Help?

    Thanks

    #919862

    Hey ginnywills,

    To reveal the cut off content please add the below CSS

    @media only screen and (max-width: 767px) {
    .responsive #top #main {
        padding-top: 100px !important;
    }}

    Best regards,
    Vinay

    #919881

    perfect!

    #919896

    Hi,

    I’m glad to see Vinay’s solution worked for you! If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Sticky Header on Mobile’ is closed to new replies.