The purpose of this page is to visualise some WordPress blocks that are available, for example, what do headings look like, or a pullquote. Feel free to add to this page. If there are blocks that you wish to change the look and feel, then please get hold of My Urban Tribe.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
This is a link.
Lists
Bullet
- List item number 1
- List item number 2
- Indent list item
- Another indent
- Indent list item
- Possibilities are endless
Number
- Numbered lists are created by typing a number.
- Numbered lists can be tricky when needing to add things in.
Quote
We must let go of the life we have planned, so as to accept the one that is waiting for us.
Joseph Campbell
Pullquote
Usually a pullquote is used to pull some of the text which is already written in the body of the page. A quote is different, it can stand alone.
A Hall Hirer
Table
| Table | Column | Column |
|---|---|---|
| Row | ||
| Row | ||
| Row |
Block Classes
You can add classes to individual blocks which can change the appearance and/or behaviour of that block. Classes are added by selecting a block, expanding “Advanced”, and adding a class name in the “Additional CSS Class(es)” input box.
Find out below the different classes (sometimes called “Atomic Styles”) which can be added to different blocks:
Call To Action Links
As you can see from this CTA, it has an additional padding-top applied to give it some space. When hovering over the link the text decoration expands to 100% width of the anchor element.
Events Page Columns
The events page uses a columns block, 2 columns, 66.66% and 33.33%. It was necessary to increase the flex-gap property as the event content was too close to the 33.33% sidebar, so in order to do this a class called “events-page-columns” was added to the columns block, and this class in the /plugins/mut-events/css/mut-events-styles.css file has the following css rules applied:
.events-page-columns.is-layout-flex {
gap: clamp(2rem, -0.143rem + 5.714vw, 5rem);
}
This clamp property allows for the gap to act in a fluid way between 2rem and 5rem.
