{"id":1840,"date":"2024-09-26T13:44:51","date_gmt":"2024-09-26T13:44:51","guid":{"rendered":"http:\/\/docs"},"modified":"2024-09-26T13:44:51","modified_gmt":"2024-09-26T13:44:51","password":"","slug":"back-to-top-button","status":"publish","type":"docs","link":"https:\/\/www.8theme.com\/documentation\/xstore\/xstore-features\/back-to-top-button\/","title":{"rendered":"&#8220;Back To Top&#8221; button"},"content":{"rendered":"\n<p>A &#8220;Back To Top&#8221; button is a user interface element commonly found on webpages to allow users to quickly return to the top of the page with a single click. This button is especially useful on long-scrolling pages where users may scroll down a considerable distance.<\/p>\n\n\n\n<p>You can activate this button while using XStore via <b>Theme Options &gt; Footer &gt; Back To Top Button<\/b>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/s3.amazonaws.com\/helpscout.net\/docs\/assets\/5809d09590336070ba24798e\/images\/65b26ef920e3b82eb738dee5\/file-HKEFXhob63.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>If you would like to change the color of the back to top button, please copy and paste the following CSS code to XStore &gt; Theme Options &gt; Theme Custom CSS &gt; Global CSS and then clear your browser cache. The result should look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.back-top {<br>    color: red !important;<br>}<br>.back-top svg path {<br>    stroke: green !important;<br>}<br><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/s3.amazonaws.com\/helpscout.net\/docs\/assets\/5809d09590336070ba24798e\/images\/65b2712620e3b82eb738deea\/file-BstspFlp8L.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The following custom CSS code can be used to change the position of the button:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.back-top {<br>    right: unset;<br>    left: 30px;<br>}<br><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A &#8220;Back To Top&#8221; button is a user interface element commonly found on webpages to allow users to quickly return to the top of the page with a single click. This button is especially useful on long-scrolling pages where users may scroll down a considerable distance. You can activate this button while using XStore via [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"doc_category":[13],"doc_tag":[],"class_list":["post-1840","docs","type-docs","status-publish","hentry","doc_category-xstore-features"],"aioseo_notices":[],"year_month":"2026-04","word_count":140,"total_views":"2490","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"author_nicename":"docs","author_url":"https:\/\/www.8theme.com\/documentation\/author\/docs\/"},"doc_category_info":[{"term_name":"XStore Features","term_url":"https:\/\/www.8theme.com\/documentation\/xstore\/xstore-features\/"}],"doc_tag_info":[],"author_list":[{"ID":"1","user_login":"docs","display_name":"docs","id":"1"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/docs\/1840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/comments?post=1840"}],"version-history":[{"count":0,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/docs\/1840\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/media?parent=1840"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=1840"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.8theme.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=1840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}