Streaming live at 10am (PST)

Style custom code/Back button


#1

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.

https://preview.webflow.com/preview/roberts-limbrick?utm_source=roberts-limbrick&preview=17cf1ed66cc0eb6e9c6cc667f77ae01f


#2

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.


#3

Wonderful, thank you!