PageFramer Logo.

PageFramer 5.0 Help

This site was created as a guide to assist authorized Administrators to administer content within the PageFramer (CMS).
Learn more about PageFramer by visiting our official site.

How To Make a Button

Some customers have asked us how they can make buttons on their website. This is not as simple of a request as one might think. Not every site uses the same method for making a button. So the best method is to look at the content on your website and locate an existing button, then to copy the code used to make that button.

Buttons are typically made using "a" tags in HTML. An "a" tag will typically look like this:

<a href="https://help.pageframer.com" class="btn btn-lg btn-primary" >This is a link</a>

Note: The source code shows the Bootstrap framework. Not all website themes include Bootstrap to determine styles. You will need to look at the source code of an existing button on your website to determine if the Bootstrap "btn" classes are being used. If the classes appear otherwise you must use those classes to mimic the button styles used by your site.

In many instances developers will make a button a Widget so it can be used throughout the website. You may want to look at your site's Widgets to see if a button exists there as well. It will be easy to copy that Widget's code and reuse it in a new widget as a new button. 

You can copy the code above in order to create a new button by pasting it into your content. Modify the button's link, title, and classes as needed. If you do wish to use the button in more than one place on your website, making the button a widget is the best option (visit the Widgets page for more information).

SaveSave
Last Modified:03-20-2021-12:30:54