Turn a Link Into a Button
If you want to turn a link into a button, follow these instructions:
- Click anywhere inside the link text that you wish to convert to a button.
- In the editor bar, click the Link button.
- Find the HTML Class field in the Options section in the modal window.
- Enter button utility classes to style your button. You must apply a
btn
class, as well as a modifier class to change the button’s appearance. For example, if you want your button to be orange, apply the classesbtn btn-wvu-accent--burnt-orange
. Or, if you want your button to have an orange outline, apply the classes btnbtn btn-outline-wvu-accent--burnt-orange
. See our color suffixes to know the exact color to apply.
Change the Color of a Link or Button
- Click anywhere inside the link text or button text that you want to edit.
- In the editor bar, click the Link button.
- Find the HTML Class field in the Options section in the modal window.
- Enter the appropriate color utility classes to style your link or button.
- For a link, just add a
text-{color}
utility class e.g.text-wvu-blue
ortext-wvu-accent--burnt-orange
. See our list of color modifiers if you aren’t sure of the correct utility to add. - For a button, you must keep
btn
class, then add a modifier class to change the button’s appearance. For example, if you want your button to be orange, apply the classesbtn btn-wvu-accent--burnt-orange
. Or, if you want your button to have an orange outline, apply the classes btnbtn btn-outline-wvu-accent--burnt-orange
. See our color suffixes to know the exact color to apply.