Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Header overlaps page


VerenaK

Question

Site URL: https://www.marcelkimble.com/

Hi,

I used a css code to install a fixed header for my Wells template. Unfortunately the header overlaps my page when you use a mobile device to visit the page.

My code:

@media screen and (max-width:640px) {
div#headerWrapper {
   position: fixed !important;
   top: 0 !important;
   left: 0 !important;
   right: 0 !important;
   background: white;
      background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: 30px;
    height: 80px;
    display: inline-block;
    visibility: visible;
 
}
div#mobileNav {
  margin-top: 110px;
}
}
@media screen and (max-width:640px) {
#mobileNav {
    background: #a3a3a3;
    position: fixed;
    top: 5px;
    left: 0;
    right: 0;
    z-index: 999;
}
}


Thanks in advance!

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Add to Home > Design > custom CSS @media screen and (max-width:640px) { section#page { padding-top: 100px; } }  

2 answers to this question

Recommended Posts

  • 0

Add to Home > Design > custom CSS

@media screen and (max-width:640px) {
section#page {
    padding-top: 100px;
}
}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...