Support » Theme: OceanWP » Back to top button – Positon mobile

  • Back to top button. On the desktop, you can position it a little higher, but on the phone it didn’t go up?
    What do I need to do to change the position on the cell phone

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @teojordao,

    You can put the CSS below in Customizing Environment > Custom CSS/JS on the “CSS code” section:

    @media(max-width: 480px) {
        #scroll-top {
            bottom: 30px !important;
            right: 30px !important;
        }
    }

    Best,

    • This reply was modified 2 years, 9 months ago by Shahin.
    Thread Starter teojordao

    (@teojordao)

    I’m trying to position higher up because I’m using the WP Bottom Menu plugin.
    After putting your code I didn’t notice any difference so I disabled the WP Bottom Menu plugin. To view the back to top button, but it is not showing. Only appears on Desktop

    Thread Starter teojordao

    (@teojordao)

    got it with a small change in the code

    @media(max-width: 480px) {
        #scroll-top  {
            display: inline !important;
    	bottom: 80px !important;
            right: 10px !important;
      }
    }
    
    • This reply was modified 2 years, 9 months ago by teojordao.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Back to top button – Positon mobile’ is closed to new replies.