Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1374365

    Hi,

    is there any quick CSS that makes the top nav and secondary menu sticky on Mobile?

    Thanks

    #1374368

    Hey woogie07,

    Could you post a link to where we can see the elements in question please?

    Best regards,
    Rikard

    #1374380

    Hi

    Website link in private

    thanks

    #1374392

    Hi,
    Please try this code in the General Styling ▸ Quick CSS field

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

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1374717

    Hi,

    Since adding the CSS, when you view on a mobile, the top of the content on each page is cut off (just under the header section)

    Please advise.

    Thanks

    #1374771

    Hi,
    Try this css instead:

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

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.