*

yvelef

  • **
  • 14 posts
Scroll to Top not show if is in top
« on: January 20, 2023, 04:14:46 AM »
 is it possibility if is in top, not view Top-logo same at "theme Epsilon" in "isDesktop or IsTablet"

and need to disable if isMobile


************************************
you send me this code:

1)  into global.js add following:
$(window).on('scroll', function(){
if($(document).scrollTop() > 720) {
$('#scroll-to-top').fadeIn(200);
} else {
$('#scroll-to-top').fadeOut(200);
}
});

and

2) into style.css add:
#scroll-to-top {display:none;}
************************************

this code is ok for "isDesktop or IsTablet"


but im nedd desable if is isMobile

thanks

*

MB Themes

Re: Scroll to Top not show if is in top
« Reply #1 on: January 20, 2023, 05:08:38 PM »
Latest global.js has this update.
You can get it from demo (not updated yet)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

yvelef

  • **
  • 14 posts
Re: Scroll to Top not show if is in top
« Reply #2 on: January 21, 2023, 05:12:50 AM »
how do i get the latest version Latest global.js

*

MB Themes

Re: Scroll to Top not show if is in top
« Reply #3 on: January 24, 2023, 09:22:50 AM »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots