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

Navigation Header shifts when scrolling on mobile

Question

4 answers to this question

Recommended Posts

  • 0

Add to Home > Design > Custom CSS

.header-announcement-bar-wrapper {
    padding: 6vw !important;
}

 


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

-- I'm Tuan. I 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. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

@tuanphan Also, it looks like the code you gave me affected the header height on desktop. Is there a way to fix this? I've attached a screenshot.

Screen Shot 2020-07-31 at 7.08.54 PM.png

Share this post


Link to post
  • 0
7 hours ago, cvanuch said:

@tuanphan Works great! Would you be able to tell me how to do it on my other website? https://bricktechstudios.com

new code

@media screen and (max-width:767px) {
.header-announcement-bar-wrapper {
    padding: 6vw !important;
}
}

 


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

-- I'm Tuan. I 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. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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...