Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #394656

    http://borstch.eu/aptare4/

    I found this cool code on the forum which actives sticky header on mobile devices. But it also covers my first header.

    Is there an easy fix?

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

    • This topic was modified 9 years, 9 months ago by crewneck.
    #394901

    Hey!

    Try this:

    
    @media only screen and (max-width: 767px) {
    .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
    padding-top: 80px !important;
    }
    }
    

    Cheers!
    Rikard

    #394920

    Hey Rikard!

    Works great on the start page. But not on this page?

    http://borstch.eu/aptare4/fastigheter/

    #395193

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 767px) {
    .html_header_top.html_header_sticky #top #wrap_all #main {
    padding-top: 80px!important;
    }}

    Best regards,
    Yigit

    #395219

    Beautiful! Thanks Yigit!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Sticky mobile header covers H1 headline’ is closed to new replies.