Design, Greyd.Blocks

How can I stretch elements to the same height?

When having several content boxes or texts in columns next to each other, often the layout is tricky when these elements do not have the same height (e.g. because of different text lengths). However, we offer several ways to make sure, your content looks good:

  • Headline & Paragraph Block

In the headline & paragraph block we have added an option that enables you to force each block to have the same number of lines, even if the texts have different lenghts:

Backend screenshot showing the
Backend screenshot showing the “text lines” options in the paragraph & headline block

Backend screenshot showing the "Text Lines" option, available in heading & paragraph blocks.

  • Content Boxes

When working with several content boxes next to each other, you can work with minimum heights to make sure that all boxes have the same height even when filled with shorter content – even individually per breakpoint. Just set the size of the biggest contentbox on each breakpoint as the minimum height for all other boxes.

Backend screenshot showing the minimum & maximum height option for content boxes
Backend screenshot showing the minimum & maximum height option for content boxes
  • Columns

In the advanced settings of the columns block, you will find an option to stretch elements placed in that column to the same height.

Backend screenshot of the columns block showing the
Backend screenshot of the columns block showing the “stretch to same height” option

Related articles & tutorials

How to upload Adobe fonts

At the moment, the WordPress Core does not support adding Adobe Fonts through the user interface, unlike Google Fonts or actual font files (WOFF2, TTF, etc). However, it’s still possible with a PHP snippet to get your Adobe Fonts into the website, both in frontend and backend. Ideally you have created a child theme before, […]


Design

How can I prevent style issues when working with external themes?

The way themes handle styles varies, which may lead to style issues in Greyd blocks when using the Greyd plugin together with external themes. However, with the Theme Adaptor we offer you a feature to ensure consistent styling for essential CSS elements like accordions, buttons, and tabs, even when the Greyd theme isn’t active. You […]


Design

Columns vs. rows vs. grid – When to use which block

In this video, we will show you when to use columns, when to use rows and when to use the new Block Editor grid function to structure your website in the best possible way. We take a look at the different variants and discuss the respective advantages and disadvantages so that you can make the […]


Design

How can I stretch post slider content to the same height?

When displaying content in a post slider, a common issue is that the length of your dynamically inserted content may vary and thus the individual posts in your slider have different heights. If you want to display several posts next to each other and want to stretch them to the same height, this is the […]


Design, Templates & Post Types

How can I make dynamic fields only appear when a post data is available?

Imagine you have a post slider / query loop showing employees. Some employees have a LinkedIn profile that is to be displayed below their photo and name, some don't. You would now want your post slider to only display the LinkedIn icon when there is a LinkedIn profile available.There's an easy way to do that […]


Design, Templates & Post Types

How can I have several layouts / designs in one post overview?

With the Post Overview or Query Loop block, you can flexibly display posts – as a table, grid or list. In combination with Conditional Content, you can also visually highlight individual posts and/or work with different layouts within one post overview. To do this, simply add the Conditional Content block twice in your query loop. […]


Design, Greyd.Blocks, Templates & Post Types

Why does my site not show skip links?

Skip links are an essential accessibility feature. When someone navigates your website using the key board, skip links make their life a lot easier as they can skip elements like forms or menus if they want to navigate on the site instead of having to go through each and every menu element or form field.With […]


Design, General Questions, Templates & Post Types

How do I prevent unwanted breaks in texts/headlines?

Depending on your screen size, it may happen that you see unwanted breaks in words (especially long ones), for example in headlines. There is a simple way to make sure words break only where and how you want them to: HTML entities.There are a lot of interesting HTML entities, however we’d like to highlight two […]


Design

Why do anchor links not jump exactly to the right position?

If you use anchor links to navigate your site, you may find that the page sometimes scrolls too far or not far enough. This is a common problem in WordPress.But GREYD.SUITE offers a solution: You can set anchors with our block "anchor target" and define the offset individually and even set different values for different […]


Design, Greyd.Blocks

How can I stretch elements to the same height?

When having several content boxes or texts in columns next to each other, often the layout is tricky when these elements do not have the same height (e.g. because of different text lengths). However, we offer several ways to make sure, your content looks good:Headline & Paragraph BlockIn the headline & paragraph block we have […]


Design, Greyd.Blocks

How can I have two fonts in one headline?

To have two different fonts in one headline or other text-based blocks, just make the text "italic" (cmd+i / strg+i) and insert the following global CSS (in the Customizer or Site Editor): /* Change Font Family on Italic */em {font-family: var(–fontFamily1);} Step 1: Make text “italic” Have two different fonts in one headline


Design, Greyd.Blocks

How do I build a sticky header?

You can easily build sticky headers with our content box variation "Pinned Box". You can find out how in our tutorial video in the chapter "Sticky Header".A small note on the side: The name could lead one to assume that sticky headers are built with the Sticky Box variation instead of the Pinned Box. However, […]


Design, Templates & Post Types

Greyd.Blocks, Templates & Post Types

How to create post overviews and sliders

In this video we show you how you can create super custom post overviews and sliders with Greyd.Suite's post slider block. With detailed frontend and backend filters, sorting options and even interactive live searches.

Greyd.Blocks, Templates & Post Types

How do I create frontend searches?

In this video we will show you how to create custom frontend searches with filtering and sorting options for the user. We also explain the extensive Advanced Search functions in Greyd.Suite.

Greyd.Blocks, Templates & Post Types

How does the burger / dropdown / popover block work?

You`ll find the popover block in three different variants. Depending on where and how you use it, you can build inline popups, dropdowns or burger menus with it. This video shows you how it works.

Greyd.Blocks

How can I insert dynamic content and trigger actions?

The trigger picker is available in several blocks to link elements or trigger an action (e.g. open an email window or popup). With Dynamic Tags you can insert dynamic content like your website title, a copyright symbol or today's date. Learn more in this video.

Greyd.Blocks, Templates & Post Types

How do I display posts as a table?

The Post Table block is a variant of the Post Overview and allows you to display post content in table form.

Greyd.Blocks

How does the columns block work?

The columns block offers you lots of possibilities in GREYD.SUITE. It can be used to define the overall layout of a page and can also provides advanced responsive options. Plus, in GREYD.SUITE there are lots of effects like fancy backgrounds available in the columns block.

Greyd.Blocks

How do I animate elements on my website?

With GREYD.SUITE you can animate almost any website element, choosing from a wide variety of effects and triggers.

Greyd.Blocks

How does the accordion block work?

The accordion block is a great option if you have a lot of information like FAQs to be displayed. In this video we like to show you how to create an accordion block with collapsible sections and integrate it into your website.

Greyd.Blocks

How can I use buttons to trigger events?

Watch this video to see how easy you can turn a button into a trigger that triggers events like hiding or showing elements on your website.

Greyd.Blocks

How can I personalize my website content?

Our conditional content block makes it possible to display different content depending on different parameters such as URL parameters, cookies, time, post type or user roles. This way, you can display different contents for example for users that come from a newsletter and users that come from Google. And you won't even need code to […]

Greyd.Blocks, Templates & Post Types

How do I create a post archive?

Show posts of a certain time, category or with certain tags with the post archives module. This video shows you how to design your individual post archive.

Greyd.Blocks

Which features do Greyd buttons offer?

Additionally to the native button block of Gutenberg, you'll find the Greyd Buttons block in Greyd.Suite. This video shows you what you can do with it.