Styling Hyperlinks
Setting styles for hyperlinks
Last updated
Was this helpful?
Setting styles for hyperlinks
Last updated
Was this helpful?
You can add hyperlink styles in the page template, the stylesheet template or in a code block.
For now we will add them in a code block.
Add a text element to the page and open the Element Options panel or dialog.
Expand the markup inside field:
Add beginning and ending style tags and then add the hyperlink CSS style code:
We are selecting all anchor tags and all anchor tags that contain a div.
You can change the CSS to suit your needs.
You may or may not need the !important flag. We are using it to make it work across a wider variety of use cases.