Design

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 in this context:

­ —> Soft Hyphen: Makes sure words break with an “-” if there’s not enough space.

Manage<b>&shy;</b>ment

&nbsp; —> Non-breaking Space: Prevents breaking between two words.

John<b>&nbsp;</b>Doe

To use HTML entities in the Block Editor, click on the three dots in the toolbar and select “Edit as HTML”:

Screenshot of the backend of the Greyd website showing how to access the HTML editor

You can then insert your HTML entities and revert to the visual editor.

Screenshot of the HTML editor in WordPress

Related articles & tutorials

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

How do I create srcoll-to-top buttons?

To create a scroll-to-top button, place the block "Greyd Buttons" on your website, then click on the trigger picker and select "scroll to". You can now select "page top".Tip: A common use case for scroll-to-top buttons is to leave the button empty (no text) and add an arrow icon. Learn more about GREYD buttons:Learn more […]


Design, Greyd.Blocks

No results found.