• 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

CSS classes for modifying Editor Blocks

The available options and settings for Blocks don’t always allow you to create the appearance you’re after. Thankfully, Blocks include an Advanced panel which allows one or more CSS classes to be added to individual Blocks.

Classes can provide additional styling as defined in your theme. Having to remember class names and type them in isn’t ideal, but styling core Blocks can be a better option than installing a plethora of third party and custom blocks just to make styling modifications to core Blocks.

Where the same styling should be applied to every use of a Block, this can be set in the theme without the need for manually adding a class.

All Blocks

By default, all Blocks (excluding nested Blocks) have a margin added at the bottom. However, in some cases, eg, adjoining Group Blocks with colour backgrounds, you may want to remove the white spacing between blocks. To do this, you can add the class no-bottom-margin to the upper Block.

The LGD Callanish theme comes with several classes designed for optional styling of core Blocks. These are shown below.

Columns Block

By default, at narrow screen widths, columns will wrap so there are only 2 columns per row, with columns stacked in rows.

Where there are an odd number of columns, the block will by default span the final block over the 2 columns.

This can work well for text and some other content, but where, e.g., you have 3 columns each with a similar sized image, you end up with the third image being twice the width (and twice the height) of the other 2 images.

The theme accepts a custom class nocolspan for the Columns Block that can be added in the Advanced tab for the block. Make sure you apply the class to Columns, not an inner column or their content. This will keep the final column the same width as the others, but centred.

Media & Text Block

The Media & Text block has an image and text block side by side, with an option for the image to be on the left or right. To add some visual interest, we have several classes which can be applied to the block to give a sloping edge between the image and text.

clip10 & clip-10 : will add a sloping edge to images on the inner edge; note that as this is a percentage clip, the taller the image, the less the angle of the sloping edge; ensure that the class is applied to the outer block

← clip10

clip10 →

← clip-10

clip-10 →

skew10 & skew-10 : will add a sloping edge to images on the inner edge; note that as this is a skew, the taller the image, the more the image will be clipped; ensure that the class is applied to the outer block

← skew10

skew10 →

← skew-10

skew-10 →

Group Block or Cover Block Skew

The Group block is a container block for grouping together some standard blocks. The Group block can be given a colour background, as below. The Cover block contains a background image with overlaid text.

Adding the skew2 or skew-2 class to the Group block or Cover block gives it a sloping edge top and bottom.

skew2 : applied to the Group block or Cover block will apply a 2º slope to the top and bottom of the container

Last Energy
7 July 2026

Last Energy

New details about Last Energy’s plans for deploying four 20MW micro modular reactors (MMRs) at the proposed Llynfi Clean Energy Project in South Wales have been revealed in images shared on the Welsh Government’s planning portal. The new details were …

read more
Urenco
7 July 2026

Urenco

Urenco Moves Forward on Commercial HALEU Enrichment. Backed with government funding, uranium enrichment company Urenco has begun work on the Western world’s first commercial HALEU enrichment facility. NEI spoke with Magnus Mori, Urenco’s Head of Market Development and Technical Sales …

read more
Infrastructure
7 July 2026

Infrastructure

Government scraps public consultation on data centres and major infrastructure projects. Scrapping mandatory pre-application consultation requirements for Nationally Significant Infrastructure Projects will “disenfranchise” locals and “embed resentment”, experts say. Just days after hundreds of people gathered near Great Torrington to …

read more

skew-2 : as skew2 but with the opposite slope

Bioenergy
8 May 2020

Bioenergy

Bioenergy covers various different sources of energy derived from organic material. This includes anaerobic digestion, biomass, landfill gas and waste incineration. Together they produce about a third of Britain’s green electricity, around 9% of all Britain’s electricity.

read more
Geothermal
8 May 2020

Geothermal

Geothermal energy comes from hot rocks deep underground. In some parts of the world steam comes to the surface and can be used to run steam turbines to produce electricity directly. In other places water can be pumped down and heated by the rocks to make steam. Geothermal energy can also be used to provide hot water and heating for buildings.

read more
Hydro Power
8 May 2020

Hydro Power

Water turbines have been used to provide electricity for over 100 years and presently provide over 1-2% of the Britain’s electricity. Although most of the possible sites for large hydropower stations in the UK have already been developed, there is significant potential for smaller schemes. These can either use a small dam or work as a ‘run of the river’ system which has a minimal impact on the local environment.

read more

Any block containing one or more images

img-border : adds a thin border around images, useful where photos have near-white areas at the edge

Any block with text

text-shadow-black : adds a black text shadow to text, useful where large white text is overlaying an image; don’t use with smaller text

White text on light image with text-shadow-black

White text on light image without text-shadow-black

White text on light image with text-shadow-black

White text on light image without text-shadow-black

button-links : makes links within text style as buttons (for styling individual links see, General CSS Classes included with the theme).

All links within a block of text can be styled as small buttons using this class.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam pulvinar ligula ac turpis aliquet ultricies. Ut congue felis sagittis velit sollicitudin, non tempus augue pretium. Mauris eleifend ipsum sit amet augue venenatis interdum. Pellentesque ac semper massa, sed consectetur nunc.

Cover Block

The Cover Block’s only height setting is for a minimum height in pixels, but you may want the block to fill the full screen height or half the height.

fullheight : sets the minimum height of the block to the screen height

halfheight : sets the minimum height of the block to half the screen height

Ensure that the class is applied to the outer block.

Full Height Cover Block

Half Height Cover Block with skew2

Wide and Full Width alignment of Paragraph blocks

The Wide and Full Width alignment options available for many blocks aren’t available for Paragraph blocks. However, the same effect can be achieved using the alignwide and alignfull classes. These styles aren’t reflected within the block editor but are applied in your web pages.

Wide Aligned paragraph

alignwide : will align paragraphs as the Wide Width setting does with other blocks; this will not be reflected in the editor due to limitations of the block editor

Full Width heading & paragraph

alignfull : will align paragraphs as the Full Width setting does with other blocks; this will not be reflected in the editor due to limitations of the block editor

Copyright © 2026 · Site by Lynx Graphic Design