Disable Mobile "Scroll To Top"

Hello Color Lib,
How can I disable the “Scroll To Top” bottom right button on your Dazzling Theme for mobile devices only? Viewing the theme from a laptop looks perfect but on smaller Mobile screens while on Portrait mode, it doesn’t look to good… it creates an empty space on the right side and clips other elements. Perhaps you heard of this before? Or perhaps you have a better solution? You can see iPhone 5 screenshots attached. Thank you very much.

Hi @thewachamacallit,

I hope you are well today and thank you for your question.

You can hide it on mobile devices by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Dazzling Options -> Other -> Custom CSS

@media (max-width: 768px){
  .scroll-to-top{
    display: none !important;
  }
}

Best Regards,
Movin

I have to apologize because the problem was NOT the theme at all!
Another plugin is causing this issue.
Thank you so much for you help Movin.

You are most welcome here :slight_smile: