• Skip to primary navigation
  • Skip to main content
LGD Callanish

LGD Callanish

an LGD test site - Gutenberg enabled

  • Home
  • Tile Examples
    • Tile Grid example
    • Post Tiles example
    • Library Tiles example
    • Image Tiles example
    • Gallery Grid example
    • Square Grid example
    • Columns and Grid Balance example
    • All Posts
  • Other Examples
    • Logos example
    • Person Bio example
    • Image and Text block example
    • Image Panel example
    • PDF Download example
    • Table example
    • Block Examples
  • Heading options
    • Full width custom heading
    • Wide custom heading
    • Narrow custom heading
    • No heading image
  • All About Tiles
    • Tile Styles
    • Responsive Layout and Grid Balance
    • Styling enhancements to our Tile blocks
  • Theme Guide
    • WordPress Customiser
    • Image Sizes
    • Colour Scheme
    • Menus
    • Heading Image and Page Title
    • Page Margins
    • Editor Blocks
    • Reusable Blocks
    • CSS classes for modifying Editor Blocks
    • General CSS Classes included with the theme
    • Sidebars
    • Known Issues
  • Theme Blocks
    • Tile Grid Block
    • Post Tiles Block
    • Library Tiles Block
    • Image Tiles Block
    • Gallery Grid Block
    • Square Grid Block
    • Logos Block
    • Person Bio Block
    • Image and Text Block
    • Image Panel Block
    • PDF Download Block
  • Contact Us

General CSS Classes included with the theme

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.

Copyright © 2026 · Site by Lynx Graphic Design