<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Landing Page Buttons Go Back to Top of Page or Form in Blog, Website &amp; Page Publishing</title>
    <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1217067#M16531</link>
    <description>&lt;P&gt;Hi &lt;SPAN&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/983348"&gt;@deepapatel&lt;/a&gt;&lt;/SPAN&gt;, and great question, thanks for asking the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;Here is an article that might help: "&lt;A href="https://knowledge.hubspot.com/website-pages/insert-and-manage-anchor-links" target="_blank" rel="noopener"&gt;Insert and manage anchor links&lt;/A&gt;".&lt;BR /&gt;&lt;BR /&gt;Are you using a HubSpot page or an external page? If yes, which theme are you using, please?&lt;BR /&gt;&lt;BR /&gt;Here are some similar threads that might help:&lt;BR /&gt;&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2450"&gt;@tjoyce&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/CMS-Development/How-to-create-a-CTA-that-jumps-down-the-page/m-p/196041" target="_blank" rel="noopener"&gt;How to create a CTA that jumps down the page&lt;/A&gt;"&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/61659"&gt;@Stephanie-OG&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/CMS-Development/Adding-a-second-CTA-to-top-nav/m-p/891326" target="_blank" rel="noopener"&gt;Adding a second CTA to top nav&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;Let us know if you need more guidance, we are here for you! 🧡&lt;BR /&gt;&lt;BR /&gt;Have a wonderful day!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2025 10:40:58 GMT</pubDate>
    <dc:creator>BérangèreL</dc:creator>
    <dc:date>2025-10-28T10:40:58Z</dc:date>
    <item>
      <title>Landing Page Buttons Go Back to Top of Page or Form</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1202357#M16315</link>
      <description>&lt;P&gt;Hi Everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently trying to build a landing page in HubSpot's drag and drop module feature, but I am running into an issue with my buttons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have buttons throughout the landing page that bring the user back to the top of the page to fill out of the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to find the option that has the button float to the top of the page and the solutions I have found involve a lot of coding that I do not understand nor see how to do in the drag and drop menus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 18:46:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1202357#M16315</guid>
      <dc:creator>MDePardo</dc:creator>
      <dc:date>2025-09-18T18:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Landing Page Buttons Go Back to Top of Page or Form</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1202384#M16316</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;
&lt;P&gt;What you're looking for here is an anchor. You need to do two thigns: 1) set an anchor point where you want page visitors to be brought to on the page and 2) point the button to the anchor.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's how:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In a rich text area above the form, choose the Insert menu (in the RTE) and select Anchor.&lt;/LI&gt;
&lt;LI&gt;Give yoru anchor a name with no spaces (&lt;EM&gt;form&lt;/EM&gt; should do it)&lt;/LI&gt;
&lt;LI&gt;In the butotn settings select either Anchor or External in the &lt;EM&gt;Link to&lt;/EM&gt;&amp;nbsp;setting (if the Anchor option is not available &amp;nbsp;in your theme, External should be available)&lt;/LI&gt;
&lt;LI&gt;If Link to: Anchor is available, simply select the anchor you just created. If you are using Link to: external enter # followed by the exact name, capitalization and all, of the anchor you created (ex: #form)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonPrairiePath_0-1758224887930.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/156100i79F2570F73601D3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonPrairiePath_0-1758224887930.png" alt="JonPrairiePath_0-1758224887930.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 19:48:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1202384#M16316</guid>
      <dc:creator>Jon-PrairiePath</dc:creator>
      <dc:date>2025-09-18T19:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Landing Page Buttons Go Back to Top of Page or Form</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1202721#M16319</link>
      <description>&lt;P&gt;Hi Jon!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much, I used the anchor with #form and it worked!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 15:01:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1202721#M16319</guid>
      <dc:creator>MDePardo</dc:creator>
      <dc:date>2025-09-19T15:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Landing Page Buttons Go Back to Top of Page or Form</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1216923#M16522</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/884078"&gt;@Jon-PrairiePath&lt;/a&gt;,&amp;nbsp;I want to add a Top button in the website page footer that takes a user back to the top. Can you please help me with what to add to a button to do that? I will appreciate that. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 00:15:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1216923#M16522</guid>
      <dc:creator>deepapatel</dc:creator>
      <dc:date>2025-10-28T00:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Landing Page Buttons Go Back to Top of Page or Form</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1217067#M16531</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/983348"&gt;@deepapatel&lt;/a&gt;&lt;/SPAN&gt;, and great question, thanks for asking the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;Here is an article that might help: "&lt;A href="https://knowledge.hubspot.com/website-pages/insert-and-manage-anchor-links" target="_blank" rel="noopener"&gt;Insert and manage anchor links&lt;/A&gt;".&lt;BR /&gt;&lt;BR /&gt;Are you using a HubSpot page or an external page? If yes, which theme are you using, please?&lt;BR /&gt;&lt;BR /&gt;Here are some similar threads that might help:&lt;BR /&gt;&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2450"&gt;@tjoyce&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/CMS-Development/How-to-create-a-CTA-that-jumps-down-the-page/m-p/196041" target="_blank" rel="noopener"&gt;How to create a CTA that jumps down the page&lt;/A&gt;"&lt;BR /&gt;- The solution from&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/61659"&gt;@Stephanie-OG&lt;/a&gt;&amp;nbsp;on this post "&lt;A href="https://community.hubspot.com/t5/CMS-Development/Adding-a-second-CTA-to-top-nav/m-p/891326" target="_blank" rel="noopener"&gt;Adding a second CTA to top nav&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;Let us know if you need more guidance, we are here for you! 🧡&lt;BR /&gt;&lt;BR /&gt;Have a wonderful day!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 10:40:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1217067#M16531</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-10-28T10:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Landing Page Buttons Go Back to Top of Page or Form</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1217365#M16538</link>
      <description>&lt;P&gt;Google Gemini to the rescue. Here is the code I added to the footer settings in HubSpot, and it works.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- START: Back to Top Button Implementation --&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;#backToTopBtn {&lt;BR /&gt;display: none; /* Hidden by default */&lt;BR /&gt;position: fixed; /* Fixed position */&lt;BR /&gt;bottom: 20px; /* Place the button 20px from the bottom */&lt;BR /&gt;right: 30px; /* Place the button 30px from the right */&lt;BR /&gt;z-index: 99; /* Make sure it stays on top of other elements */&lt;BR /&gt;border: none; /* Remove border */&lt;BR /&gt;outline: none; /* Remove outline */&lt;BR /&gt;background-color: black; /* Button background color */&lt;BR /&gt;color: #6cca0b; /* Updated to the new bright green arrow color */&lt;BR /&gt;cursor: pointer; /* Add a mouse pointer on hover */&lt;BR /&gt;padding: 15px; /* Some padding */&lt;BR /&gt;border-radius: 50%; /* Make it round */&lt;BR /&gt;font-size: 25px; /* Increased font size for a slightly larger arrow */&lt;BR /&gt;line-height: 0;&lt;BR /&gt;box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);&lt;BR /&gt;transition: background-color 0.3s, transform 0.2s;&lt;BR /&gt;/* Responsive sizing */&lt;BR /&gt;width: 50px;&lt;BR /&gt;height: 50px;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;#backToTopBtn:hover {&lt;BR /&gt;background-color: #333333; /* Dark gray for hover on black background */&lt;BR /&gt;transform: scale(1.05);&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- The Button HTML Element (Arrow Up/Carrot) --&amp;gt;&lt;BR /&gt;&amp;lt;button onclick="scrollToTop()" id="backToTopBtn" aria-label="Go to top"&amp;gt;&lt;BR /&gt;&amp;amp;#8593; &amp;lt;!-- Changed to Black Up-Pointing Triangle (a common 'carrot' style) --&amp;gt;&lt;BR /&gt;&amp;lt;/button&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;// Get the button element&lt;BR /&gt;const backToTopBtn = document.getElementById("backToTopBtn");&lt;/P&gt;&lt;P&gt;// Function to scroll the document to the top smoothly&lt;BR /&gt;function scrollToTop() {&lt;BR /&gt;// Use smooth scrolling if supported, otherwise fall back to immediate scroll&lt;BR /&gt;window.scrollTo({&lt;BR /&gt;top: 0,&lt;BR /&gt;behavior: "smooth"&lt;BR /&gt;});&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// When the user scrolls down 300px from the top of the document, show the button&lt;BR /&gt;window.onscroll = function() {scrollFunction()};&lt;/P&gt;&lt;P&gt;function scrollFunction() {&lt;BR /&gt;// Check both documentElement (for most browsers) and body (for older ones)&lt;BR /&gt;if (document.body.scrollTop &amp;gt; 300 || document.documentElement.scrollTop &amp;gt; 300) {&lt;BR /&gt;backToTopBtn.style.display = "block";&lt;BR /&gt;} else {&lt;BR /&gt;backToTopBtn.style.display = "none";&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// Attach the globally defined function to the window object so it's accessible from the onclick attribute&lt;BR /&gt;window.scrollToTop = scrollToTop;&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;!-- END: Back to Top Button Implementation --&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 22:40:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1217365#M16538</guid>
      <dc:creator>deepapatel</dc:creator>
      <dc:date>2025-10-28T22:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Landing Page Buttons Go Back to Top of Page or Form</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1217507#M16542</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/983348"&gt;@deepapatel&lt;/a&gt;&lt;/SPAN&gt; and thanks for sharing your solution and code!&lt;BR /&gt;&lt;BR /&gt;This will be helpful for others looking to add a back-to-top button on their HubSpot landing pages.&lt;BR /&gt;&lt;BR /&gt;If anyone wants to share their own variations, feel free to jump in.&lt;BR /&gt;&lt;BR /&gt;Have a lovely day!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 09:19:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Landing-Page-Buttons-Go-Back-to-Top-of-Page-or-Form/m-p/1217507#M16542</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-10-29T09:19:30Z</dc:date>
    </item>
  </channel>
</rss>

