Some of the Premium Themes we offer comes with fixed header while you scroll the screen. Also, the opacity of the header is being changed during scroll.
Here are all of the necessary steps that you need to perform if you want to disable the header opacity change during scroll:
- Navigate to Admin Panel -> Left Menu -> Appearance -> Editor
- Open your_theme/js/utilities.js
- Find and DELETE the following code:
var opacity = 1;
var lastScrollTop = 0;
jQuery(window).scroll(function(){
var st = jQuery(this).scrollTop();
if(st == 0)
jQuery(‘#header-main-fixed’).css(‘opacity’,’1′);if (opacity > 0.5 && (st > lastScrollTop)){
jQuery(‘#header-main-fixed’).css(‘opacity’,’-=0.01′);
opacity -= 0.01;
}
else if(opacity < 1)
{
jQuery(‘#header-main-fixed’).css(‘opacity’,’+=0.01′);
opacity += 0.01;
}
lastScrollTop = st;
}); - Save Changes
Best-selling Products:
-
All Premium WordPress Themes$51.00 -
Product on sale
Responsive Club WordPress Theme – AyaClubProOriginal price was: $29.99.$25.00Current price is: $25.00. -
Responsive Psychology WordPress Theme – AyaPsychologyPro$24.99 -
Product on sale
Responsive Handmade WordPress Theme – AyaHandmadeProOriginal price was: $29.99.$25.00Current price is: $25.00. -
Responsive Books WordPress Theme – AyaBooksPro$24.99 -
Product on sale
Responsive Vegan WordPress Theme – VeganProOriginal price was: $29.99.$25.00Current price is: $25.00. -
Responsive Spiritual WordPress Theme – AyaSpiritPro$24.99 -
Responsive Medicine WordPress Theme – AyaMedicinePro$32.99 -
Responsive Traveling WordPress Theme – TourPro$24.99 -
Product on sale
Responsive Hair Salon WordPress Theme – AyaHairSalonProOriginal price was: $31.99.$25.99Current price is: $25.99. -
Responsive Portfolio WordPress Theme – AyaPortfolioPro$24.99 -
Responsive Photography WordPress Theme – AyaPhotographyPro$24.99 -
Product on sale
Responsive Landshafting WordPress Theme – LandshaftingProOriginal price was: $29.99.$25.00Current price is: $25.00. -
Responsive Freelance WordPress Theme – AyaFreelancePro$24.99 -
Cover Book Mockup Design$4.00











































Leave a Reply