Skip to the content
Jeffrey T. Kastner
Freelance Web Designer
0
  • Home
  • About
  • Weebly Themes
  • WordPress Themes
  • Website Design
  • Blog
  • Contact
  • Guestbook
Find me here:

Go Back Button

Jeffrey T. Kastner | May 20, 2013

Create a Go Back Button in a few simple steps.


There isn’t an option to add a ‘Go Back’ button using your normal Weebly element, that would allow users to go back to the previous page. But you can do this with Custom HTML.


not active

<button onclick="history.go(-1);">Go Back</button>

=

You can also change your buttons text, so if you don’t want it
to say ‘Go Back‘ you can change it to ‘Last Page‘


Simply copy and paste the HTML code and paste it into a custom HTML element.


EXAMPLE:

Picture

Style your Button


With a little customization you can even use the buttons built into your theme. 

Here’s a screenshot of the buttons your website’s theme might use.

Go Back Buttons

Go Back

Get Code ►


Go Back

Get Code ►


Go Back

Get Code ►


Go Back

Get Code ►


Try it

Go Here to test the ‘Back Button’ simply visit the link,
then use the ‘Go back‘ button to return to this page.

Visit the Example Page
Tweet
Categories: All, Random, Weebly | Comments

6 Comments

  • Terry Peters says:
    September 17, 2014 at 7:51 am

    I put the “Go Back” html in creating my button. It made a new button, and the original was stuck on the page. How can I remove these and what is the proper method? Please send reply to terry@aatechs.com
    Thanks

    Reply
  • Jeffrey Kastner says:
    September 17, 2014 at 11:09 am

    Hi Terry,

    When you say that the original was stuck on the page, it sounds like you are referring to the landing page button. The header image area of the landing page page type always contains a button. If you need help with that, please see:
    https://www.jeffreytkastner.com/blog/landing-page-button-removal

    If you have embedded your code in one of the standard button elements, you would want to delete that code from that button, In this case, instead of adding your code to a button you would use the embed code element to add the custom code. As I have noted above, in this blog post.

    If you need help with the embed code element please see:
    http://hc.weebly.com/hc/en-us/articles/201740213-Add-Widgets-Videos-and-Other-Content-by-Embedding-Code

    If you’re still having troubles, can you please provide an example so I can check it what you’ve done.

    Thanks for writing,
    Jeffrey

    Reply
  • Ahmed Faroug says:
    September 20, 2016 at 5:12 am

    Thank you very much!

    Reply
  • Meital says:
    November 3, 2016 at 2:03 am

    Hi Jeffrey thank you so much it is helpful !
    I added the button in my blog settings, at the footer code option. it works great, but is there a way to move the button to be aligned to the middle? tnx

    Reply
  • Bruce Hirshfield says:
    February 25, 2020 at 11:16 am

    Jeffrey- Nice. Very Nice. Works like a charm. Thanks for posting!

    Reply
  • Ariel G. says:
    March 31, 2021 at 9:04 am

    Thank you for this!!! It’s 7 years later and Weebly has still not addressed this issue, which is unfortunate. Huge, simple, beneficial solution…Thx again (in 2021!)

    Reply

Write a Reply or Comment Cancel reply

Your email address will not be published. Required fields are marked *

  • Blatherings

    • All
    • Music Review
    • Random
    • Recipes
    • Weebly
  • By Date

    • August 2024
    • May 2024
    • June 2023
    • April 2023
    • October 2022
    • July 2022
    • March 2022
    • February 2022
    • December 2021
    • October 2020
    • September 2020
    • May 2019
    • January 2019
    • October 2018
    • March 2018
    • February 2018
    • September 2017
    • July 2017
    • May 2017
    • August 2016
    • June 2016
    • January 2016
    • July 2015
    • June 2015
    • May 2015
    • April 2015
    • January 2015
    • September 2014
    • August 2014
    • July 2014
    • June 2014
    • May 2014
    • April 2014
    • March 2014
    • January 2014
    • December 2013
    • October 2013
    • August 2013
    • June 2013
    • May 2013
    • March 2013
    • January 2013
    • November 2012
    • August 2012
    • June 2012
    • May 2012
    • April 2012
    • February 2012
    • August 2011
  • Recent Posts

    • Roasted Garlic Habanero Hot Sauce
    • Floating bed
    • Five Gallon Bucket Planter
    • Weebly To WordPress Importer
    • Camping Canvas Wall Art
  • Recent Comments

    1. Jake B on Floating bed
    2. Jeremiah on Roasted Garlic Habanero Hot Sauce
    3. chunbyn on Guestbook
    4. Tom B on Floating bed
    5. DanielDurne on Guestbook
Top [Terms Of Service] [Privacy] Contact
© 2025 Jeffrey T. Kastner

No products in the cart.

Search...

Search for: