iskipper123
Forum Replies Created
-
Dear friends. I apologize for my stupidity. The thing is that I wanted to make the site header sticky, and following the recommendations on YouTube I entered the code for the sticky header, which loaded old scripts jQuery. Here is the code that was inserted:
<style> html, body { max-width: 100%; overflow-x: hidden; } .stickyHeader{ background-color: rgba(0, 71, 206, 0.8) !important; position: fixed; width: 100%; top: 0; transition: all 0.3s ease-in-out; } </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script> $(function() { //caches a jQuery object containing the header element var header = $(".clearHeader"); $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 100) { header.removeClass('clearHeader').addClass("stickyHeader"); } else { header.removeClass("stickyHeader").addClass('clearHeader'); } }); }); </script>Good luck everyone and be careful.
Hello. Thank you for everything, I started building the site from scratch because I think there were problems with the code. Good luck to you.
Thank you for responding to my message. I disabled the plugin that I showed, namely Minify, which you noted. I also added the styles that are written in the instructions, namely:
.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
display: block !important;
}As you showed, the popup points in the other direction. In the console, I noticed that new errors appeared https://share.zight.com/Jru5rxJ5
Another plugin for booking routes also does not work accordingly. I don’t even know what the problem is…