Position scroll to top button on mobile - by Divites

This topic has 4 replies, 3 voices, and was last updated 6 years, 8 months ago ago by Rose Tyler

  • Avatar: Divites
    Divites
    Participant
    March 7, 2018 at 20:18

    Hi,

    I was wondering if it is possible to adjust the position of the scroll to top button on mobile view.
    We have enabled zendesk chat and now the scroll to top button is behind the zendesk chat button when visiting the site on mobile. Is there a way to add some margin to the scroll to top button?

    Thx for your prompt reply.

    Regards,

    Johan

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 7, 2018 at 20:40

    Hello,

    Add the following code in Theme Options > Styling > Custom CSS

    @media only screen and (max-width: 480px){
    .back-top {
        bottom: 45px;
    }
    }

    Regards

    Avatar: Divites
    Divites
    Participant
    March 8, 2018 at 09:12

    Hi Olga,

    Thx for the code. It works great!!

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2018 at 08:17

    Hello,

    You’re welcome!
    Have a nice day.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.