• Resolved nam1962

    (@nam1962)


    Hi !
    I try to get a sticky menu.
    This :

    /* sticky top */
    .header-top {
    	position: fixed;
    	width: 100%;
    	z-index: 1000;
    }
    
    .main-content {
    	padding-top: 13px; 
    }

    …works well on desktop, but when I shift to mobile, the zones are inverted and it become ugly.

    Where did I miss something ?

    Best

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter nam1962

    (@nam1962)

    My error, did’nt even need to wrap with :

     @media only screen and (min-width: 760px) {
    }

    as top and main header line where mixed up 😛

    Best

    • This reply was modified 5 years, 8 months ago by nam1962.
Viewing 1 replies (of 1 total)
  • The topic ‘Header syntax’ is closed to new replies.