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

Ähnliche Artikel & Tutorials

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 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

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