Streaming live at 10am (PST)

Style custom code/Back button

Hey folks,

Have just followed the solution on this page to create a back button; it works perfectly.

The issue I’m having is I don’t know how to style it? It doesn’t seem to allow me to change the colour of the button or anything?

Check the end of the “projects” page on my site to see the button.

1 Like

Add a class to style it.

For example:

<a href="javascript:history.back(1);" class="w-button myclass">Back Button</a>

Now drag a new div, give it the class myclass and style it like you want your button to be. Your button should change along the way.

1 Like

Wonderful, thank you!

1 Like