Title: small issue
Last modified: August 24, 2016

---

# small issue

 *  [anymvs](https://wordpress.org/support/users/anymvs/)
 * (@anymvs)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/small-issue-4/)
 * Hello 🙂
 * I have a small problem and I need your help 🙂
 * The button is not appears in my wordpress site (besically is hidden behind the
   elements of the theme )and I think I know why but I can’t fixed it ! The problem
   comes from my theme ! I’m using MagicBook you can see the demo [here](http://themeforest.net/item/magicbook-a-3d-flip-book-wordpress-theme/8808169)
   since my website is not ready yet..
 * This specific theme it’s load the pages as slides in a book… so the plugin is
   not working with that since it’s working with jQuery into the main offset of 
   the screen so basically is for Fully Visible in one page and not in parts! (Visible
   only for body)
 * Doesn’t make sense to change the css style so I though a good idea to make a 
   few changes in the .js file !
 * My code is exactly the same but I change the Body element of the main function:
 * from
    `scrollToElement("body", scrollBackToTop.scrollDuration, 0);`
 * to
    `scrollToElement("container", scrollBackToTop.scrollDuration, 0);`
 * and the second one
    from `$('html, body').animate({scrollTop: offsetTop}, parseInt(
   time), 'linear');`
 * to
    `$('html, container').animate({scrollTop: offsetTop}, parseInt(time), 'linear');`
 * Now I’m stuck :p
 * Is not working maybe the “container” class is not a part of the game and the 
   bad thing here is that I can’t determine the correct class! it seems that there
   are a lot of class to to be able to create that book :p so I can’t determine 
   which one is the correct!
 * Can you help me with that ? 🙂
 * p.s: my java skills are poor I don’t know if I change something which has nothing
   to do with the scrolling I make the changes, base in logic :p
 * Thank you in advnace
    Regards
 * [https://wordpress.org/plugins/scroll-back-to-top/](https://wordpress.org/plugins/scroll-back-to-top/)

The topic ‘small issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/scroll-back-to-top_fefefe.svg)
 * [Scroll Back To Top](https://wordpress.org/plugins/scroll-back-to-top/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/scroll-back-to-top/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/scroll-back-to-top/)
 * [Active Topics](https://wordpress.org/support/plugin/scroll-back-to-top/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/scroll-back-to-top/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/scroll-back-to-top/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [anymvs](https://wordpress.org/support/users/anymvs/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/small-issue-4/)
 * Status: not resolved