Customize scroll to top button
-
Hi there
I found some css to change color of the scroll to top button at
https://docs.generatepress.com/article/back-to-top-button/#changing-the-colorand some other css at
https://docs.generatepress.com/article/back-to-top-button/#other-styles
However it does not change the color. For trying out the code now is:
`.generate-back-to-top,
.generate-back-to-top:visited {
background-color: rgba( 225, 0, 0, 0.4 ); /* rgba or hex */
color: #FFFFFF;
}/* the button when you hover/click it */
.generate-back-to-top:hover,
.generate-back-to-top:focus {
background-color: rgba( 0, 225, 0, 0.6 ); /* rgba or hex */
color: #FFFFFF;
}Any idea why the button still is grey instead of red or green?
The page I need help with: [log in to see the link]
- The topic ‘Customize scroll to top button’ is closed to new replies.