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

Pat1
Go to solution Solved by rwp,

Question

Site URL: http://www.taupestudios.com

Hi everyone, 

I have a problem with my navbar on mobile. Whenever I scroll back up on my website, the navbar is "sliding" downwards (I would like it to be fix and not move). I have tried injecting this code as suggested by a friend, but nothing happened... Any suggestions?

<script> function removeEventListeners(element, listenerMap) { Object.keys(listenerMap).forEach(function (name) { var listeners = listenerMap[name]; listeners.forEach(function (object) { if (name == 'scroll') { element.removeEventListener(name, object.listener); } }); }); } removeEventListeners(window, getEventListeners(window)); </script>

 

Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Hi. Have you solved it yet?

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

This worked! Thanks a lot!!!

3 answers to this question

Recommended Posts

  • 0
3 hours ago, rwp said:

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

 

This worked! Thanks a lot!!!

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