How to convert a button into a link

This article will show you how to convert a button on your page to a link

Step 1 - Locate button in the html

Open the html editor and do a browser search (CTRL+F) to find the button you want to convert into a link

 

Step 2 - Adjust the code

The button element opens with “<button”, contains a “data-id” (amongst other values) and then closes with “/button>”

To turn this into a link, change the opening and closing tags to “a” and adjust the “data-id” to be just “id” and change “button” to “link”

 

Step 3 - Save html and check work

After you make the adjustments, click the save button on the bottom right of the html editor

Then click on the element on the page to confirm it now has the Link function