Classes can be added to blocks or within code to modify the styling of items.
For classes that can be used with entire Blocks, see CSS classes for modifying Editor Blocks.
The Theme allows you to add the class “button” to hyperlinks to style them as buttons.
When included within a paragraph of text, using “button small” makes the size of the button suitable for inline use.
To use these in-code classes you need to edit the text in html view: click on the three vertical dots icon in the block’s toolbar and select “Edit as HTML”.
You should then see the raw code for the block.
Example paragraph block:
Sample text with link.
How this looks in HTML view:
<p>Sample text with <a href="https://www.lynxwebdevelopment.co.uk/lgd-callanish/homepage/" data-type="page" data-id="8869">link</a>.</p>
Modify the code to add the classes:
<p>Sample text with <a href="https://www.lynxwebdevelopment.co.uk/lgd-callanish/homepage/" data-type="page" data-id="8869" class="button small">link</a>.</p>
This produces the following paragraph:
Sample text with link.
If you want all links within a paragraph to be small buttons, you can just add the class button-links to the paragraph block, see CSS classes for modifying Editor Blocks for how to add classes to blocks.
