Home Forums Porto Template Scroll-to-top: Move to center

This topic contains 1 reply, has 2 voices, and was last updated by  Support2 3 weeks, 6 days ago. This post has been viewed 69 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10027628

    avalight
    Participant

    Hello
    I would like the scroll to top arrow to appear on the center of the users screen, no matter what screen they are on. Is this possible?

    Thanks
    Curt


    #10027629

    Support2
    Keymaster

    Hello,

    You can do that with the custom CSS code below at (css/custom.css):

    html .scroll-to-top {
    	right: 50%;
        transform: translate3d(-50%, 0, 0);
    }

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


Viewing 2 posts - 1 through 2 (of 2 total)