Site logo

Archived topic

Adjusting Back to Top Button

1 reply · Started by Ian on January 22, 2020

Viewing posts 1–2 of 2

Hi
I have read the documentation on adjusting the position fo teh Back to Top Scroll button.

My issue is that the button displays in the far right corner of the screen and on the desktop where the screen is way wider than the content container this makes the button a little hidden away.

I think it would be better placed in the right corner of the content container which would also work well with mobile and tablet screens.

Is it posisble to position it there instead of the fixed position relative to screen?

Thanks

Hi there,

try this CSS:

@media (min-width: 1200px) {
    .generate-back-to-top {
        right: 50% !important;
        transform: translatex(600px);
    }
}
This archived topic is closed to new replies.