Back to Top Shortcode

With this shortcode you can display a back to top button to easily scroll back up.

[sp-btt]
[sp-btt style=2 position=right]

Shortcode:

[sp-code][sp-btt][/sp-code]

Options:

  • animate true / false Choose if want the scrolling to animate instead of a jump.
  • text_color ffffff Choose text color you want. Use HEX value.
  • bg_color 000000 Choose the background color of the button. Use HEX value.
  • position left / right / center Choose the position you want the button to display within the container.
  • style 1 / 2 Choose the style you want. 1 is arrow on top and 2 is on the side.
  • custom_class Adds additional class so you can manipulate the styles for just this shortcode.