Add a button to page content

Buttons are a quick and easy way to make your links have greater impact as a call to action.

To add a button simply add a link to your page in the normal way. Select your text and use the link option in the content editor.

button-link-select

Having selected the link option in the editor a dialog box appears, that will allow you to add a URL under the Link info tab. 

Double click a page link in the editor to edit and add advance properties.

button-link-02

Select the Advanced tab and add the bootstrap button classes "btn btn-success" to Stylesheet classes.

button-link-class-03

See the link in the editor takes on the property of a button, however the button styles will only be evident until you save and preview the page in the front-end.

button-link-04

See below the different button classes and how the appear visually on the front-end. 

button-link-05

"btn-default"

"btn-primary"

"btn-secondary"

"btn-success"

You can also change the size of the buttons to make them larger "btn-lg" or smaller "btn-sm".

button-link-06 button-link-07

"btn btn-success btn-lg"


 

Alternatively you can use the content blocks to build content and add a button to your page using the field's provided.

button-link-cb