Email Editor Blocks
Groundhogg’s email editor is built from blocks. Drag a block into your email, click it, and change its settings in the right panel. This article walks you through every block in the editor and what each one can do.
Want every new block to start with your brand’s fonts, colors, and spacing? Set that up once in Editor Settings & Defaults.
Adding and Editing Blocks #
Open any email, and you’ll see the blocks panel on the left. Drag a block from the panel into your email wherever you want it to go.

Click a block in your email to select it. The right panel shows two tabs: Block, with the settings for that type of block, and Advanced, with settings every block shares. The toolbar on a selected block lets you Save as Global, Duplicate, or Delete it.
You can also use keyboard shortcuts on a selected block: Ctrl + D duplicates it, Ctrl + C and Ctrl + V copy and paste it, and Delete removes it.
Font Settings #
Blocks with text have a Font setting. Click the π icon to pick one of your global fonts, or click the βοΈ icon to set a custom Font Family, Font Size, Line Height, Font Weight, Font Style, and Transform. The Color setting next to it changes the text color.
Fonts you’ve uploaded, or added from your theme, show up in the Font Family list too. See Custom Fonts in Emails.
Advanced Settings #
Every block has the same Advanced tab:
- Layout β the block’s Padding. If your email uses the Full-Width Contained template, you can also set its Width.
- Border β the border Style, Color, Width, and Radius.
- Background β a background Color and a Background Image.
- Responsive β Hide on mobile or Hide on desktop.
- Conditional Visibility β Enable contact filters to show the block only to certain contacts, Hide in browser view, and Remove from plain text. See Conditional Content for more.
- Custom CSS β your own CSS for the block.
Columns #
The Columns block splits a row into side-by-side columns. Drag other blocks into each column to build your layout.
- Layout β pick one, two, three, or four columns, one of the uneven layouts, or a custom layout where you set the Custom column widths yourself.
- Gap β the space between columns.
- Vertical Alignment β line up the column content at the Top, Middle, or Bottom.
- Responsive β when on, the columns stack on top of each other on small screens.
- Column Style β the Column Padding, Background Color and Border for every column.
Heading #
Use the Heading block for titles and section headings.
- Type β H1, H2, H3, H4, or P for a plain paragraph.
- Alignment β left, center, or right.
- Font and Color β see Font Settings above.
Type your heading right in the block.
Text #
The Text block is where most of your email’s words go. Click the block to type and format your text with the editor toolbar. You can add replacement codes and saved replies from the toolbar too.
The Text block has separate font settings for Paragraphs, Links, Heading 1, Heading 2, and Heading 3, so you can style each one inside the same block.
Button #
Add a call to action with the Button block.
- Text β the words on the button. You can use replacement codes here.
- Link β where the button goes.
- Size β Small, Medium, or Large.
- Alignment β left, center, right, or full width.
- Button Color β the button’s background color.
- Border and Font β the button’s border, and the font and color of its text.
Menu #
The Menu block adds a row of text links, like a website navigation bar.
- Menu links β add link text and a link for each item. Drag the items to change their order.
- Separator β show nothing between links, or a line, double line, middle dot, or bullet.
- Alignment β left, center, right, or spread across the full width.
- Gap β the space between links.
- Font and Color β the style of the links.
Image #
Add a logo, banner, or photo with the Image block.
- Image β upload an image, pick one from your media library, or paste an image URL.
- Width β the image width in pixels.
- Alt Text β what the image shows, for readers whose email client hides images.
- Alignment β left, center, or right.
- Link β make the image clickable.
- Border β add a border or round the corners with Radius.
Video #
Videos can’t play inside an email, so the Video block does the next best thing. It shows the video’s thumbnail with a play button on top, and clicking it opens the video in your reader’s browser.
Paste a link to a YouTube, Vimeo, Wistia, or Rumble video into Video link. Groundhogg gets the video’s thumbnail, draws your play button and progress bar on it, and saves the image in Groundhogg’s uploads folder on your site.
- Video link β the link to your video.
- Width β the thumbnail width in pixels.
- Alignment β left, center, or right.
- Alt Text β a short description of the video.
- Link β where the thumbnail links to. Leave it empty to link to the video.
Play Button #
Pick a play button style: None, Circle, Outline, Pill, Box, or Triangle. Then change its Color, Opacity, Icon color, and Size.
Progress Bar #
Add a fake progress bar along the bottom of the thumbnail to make it look like a video player. Pick None, Line, Scrubber, or Player, then set its Color and how much Progress it shows.
Thumbnail #
- Darken β darken the thumbnail so the play button stands out.
- Custom thumbnail β use your own image instead of the video’s thumbnail. Groundhogg adds the play button and progress bar to it.
- Get the video’s thumbnail again β Groundhogg saves each video’s thumbnail the first time it gets it. If you’ve changed the thumbnail on YouTube or Vimeo, click this button to get the new one.
In the plain text version of your email, the Video block becomes a link to the video. It uses your Alt Text, or “Watch the video” if you didn’t add any.
Spacer #
The Spacer block adds empty space between blocks. Set its Height in pixels.
Divider #
The Divider block adds a horizontal line to separate sections.
- Style β Solid, Dashed, Dotted, Double, Ridge, or Groove.
- Height β the thickness of the line in pixels.
- Width β how much of the email’s width the line covers, as a percentage.
- Color β the color of the line.
HTML #
Have some HTML you want to drop in as-is? Paste it into the code editor in the HTML block.
Not all HTML and CSS works in email, so check that your code is email-friendly. Elements such as script and form are stripped out automatically.
Shortcode #
The Shortcode block runs a WordPress shortcode and adds its output to your email. Paste the shortcode into the Shortcode box, for example [your-shortcode].
Only basic or email-specific shortcodes work. Shortcodes won’t load any JavaScript or CSS, so if the output needs styling, add it with Custom CSS in the Advanced tab.
Posts #
The Posts block adds a list of your latest blog posts, or any other post type, to your email. The posts are pulled in when the email is sent, so they’re always up to date.
- Layout β Cards, Numbered List, Unordered List, or the post titles as H1 to H5 headings.
- Featured β on the Cards layout, make the first post stand out.
- Excerpts and Thumbnails β show each post’s excerpt and featured image.
- Gap β the space between posts.
- Card Style β on the Cards layout, the Content Padding, Background Color, and Border of each card.
- Thumbnail β the Thumbnail Size and, on the heading layouts, its Position: Above Headline, Below Headline, Left or Right.
The Query settings choose which posts show up:
- Post Type β posts, pages, or another public post type.
- Number of posts and Offset β how many posts to show and how many to skip.
- Categories, tags, and other taxonomies β show only posts with those terms. Relationship sets whether a post needs Any or All of them.
- Include these and Exclude these β pick specific posts to show or leave out.
- Query ID β lets a developer change this query with code. See Custom queries for the posts and query loop blocks.
Query Loop #
The Query Loop block gives you full control over how each post looks. You design one post using regular blocks inside the Query Loop, and Groundhogg repeats that design for every post the query finds.
- Columns and Gap β how many posts sit side by side, and the space between them.
- Thumbnail Size β the image size used for post thumbnails.
- Query β the same query settings as the Posts block.
Use post merge tags in the blocks inside the loop to add each post’s details. The Reference panel lists them all, including #the_title#, #the_excerpt#, #the_thumbnail#, #the_url#, #the_date#, #the_author# and #read_more#. Click a tag to copy it.
Need more post data than the built-in tags? See Custom post data within the query loop block.
Socials #
The Socials block adds icons that link to your social media profiles.
- Theme β brand colors, black, gray, or white icons, each in a square, circle, or plain icon style.
- Social Accounts β choose Global to use the profiles from your editor settings, or Custom to pick the profiles for this block only.
- Alignment β left, center, or right.
- Icon Size and Gap β the size of the icons and the space between them.
To set up your global profiles, see Global Social Links in Editor Settings & Defaults.
Footer #
The Footer block adds your business details to the bottom of your email: your business name, address, phone number, privacy policy and terms links, and an unsubscribe link. These come from your business settings under Groundhogg Β» Settings.
- Alignment β left, center, or right.
- Phone Number, Privacy Policy and Terms β turn each line on or off.
- Font Style and Link Style β the style of the footer text and its links.
Transactional emails don’t show the unsubscribe line.
Global Block #
The Global Block block adds one of your saved global blocks to the email. Search for it under Select Global Block Template. Click Edit in another tab to change the global block, or Manage global blocks to see them all.
Changes to a global block show up in every email that uses it. Learn how to create them in Global Blocks.
Blocks From Add-ons #
Some add-ons add their own blocks to the email editor. For example, the Email Countdown Timer add-on adds a Countdown block.
FAQs / Troubleshooting #
My video thumbnail won’t load. What’s wrong?
Make sure the link goes to a public YouTube, Vimeo, Wistia, or Rumble video. Groundhogg also needs the PHP GD extension to draw the play button, and a writable uploads folder to save the image. If either one is missing, the Video block shows an error telling you which.
The thumbnail shows in the editor, but it’s a broken image in my emails.
Your server may be blocking Groundhogg’s uploads folder, where thumbnails are saved. Check Tools Β» Site Health in WordPress, and see Keep Private Files Private on nginx.
Why doesn’t my video play in the email?
Email clients don’t play videos. Your readers see the thumbnail, and clicking it opens the video in their browser.
My shortcode looks different in the email than on my website.
Shortcodes don’t load JavaScript or CSS in emails. Add the styles you need with Custom CSS in the block’s Advanced tab.