Home / Forums / WoodMart support forum / Split: Gutenberg Blocks not available
Home › Forums › WoodMart support forum › Split: Gutenberg Blocks not available
Split: Gutenberg Blocks not available
- This topic has 4 replies, 2 voices, and was last updated 4 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
March 4, 2026 at 8:15 pm #710975
Maki889ParticipantHello, I’m currently redesigning my website and am using the “Pets” pre-built website, which you have implemented really beautifully.
Unfortunately, the title for category “Nahrungsergänzungsmittel” does not fit in because it too long.
I would like to split it into two lines, but I can’t find an option to do this. Where can I customize this?Attached is a picture of how it currently looks and how it should look.
Attachments:
You must be logged in to view attached files.March 4, 2026 at 8:27 pm #710984
Maki889ParticipantSorry, I mean category “Ergänzungsfuttermittel”
March 5, 2026 at 10:08 am #711020Hello,
Please try to use the below custom CSS code and paste it to Theme Settings >> Custom CSS >> Global CSS section:
.wp-block-wd-tabs-content.wd-tabs-content-wrapper.wd-37b044f9 .wd-carousel-wrap .wd-carousel-item.wd-slide-visible.wd-full-visible:nth-child(3) a { width: 70%; display: inline-block; }Best Regards.
-
This reply was modified 4 months ago by
Aizaz Imtiaz Awan.
March 5, 2026 at 8:22 pm #711143
Maki889ParticipantThanks, but the code separates the title not correctly according to German spelling rules.
The solution acc. to claude.ai (2 steps):
Step 1: Add a soft hyphen character (U+00AD) to your category name at the correct break point. Go to WooCommerce → Products → Categories → Edit the category. In the name field, place your cursor where you want the hyphen to appear and press Alt + 0173 (Windows numpad). The character is invisible but the browser will break the word there when needed.
Step 2: Add this to Theme Settings → Custom CSS → Global. Change data-loop=”3″ to match the position of your category tile:css/* Fix: Soft hyphen word-break on mobile for long category names (3rd tile) */
.wd-cat[data-loop=”3″] .wd-cat-content,
.wd-cat[data-loop=”3″] .wd-cat-header,
.wd-cat[data-loop=”3″] .wd-entities-title,
.wd-cat[data-loop=”3″] .wd-entities-title a {
display: block !important;
overflow: visible !important;
overflow-wrap: normal !important;
word-wrap: normal !important;
word-break: normal !important;
-webkit-hyphens: manual !important;
hyphens: manual !important;
white-space: normal !important;
-webkit-line-clamp: unset !important;
-webkit-box-orient: unset !important;
max-height: none !important;
text-overflow: unset !important;
}Why it works:
The key is overriding display: flex/inline-flex with display: block and setting overflow-wrap: normal instead of break-word. With break-word, the browser is allowed to break the word anywhere and ignores the soft hyphen. With normal, the browser is forced to only break at the soft hyphen position, displaying a proper hyphen character.Hope this helps for everyone with the same issue. You can close this topic (and the old one).
March 6, 2026 at 8:54 am #711191Hello,
Thank you for sharing the detailed solution and explanation.
Using a soft hyphen together with the CSS adjustment is a good approach for controlling the word break according to the correct language rules, and we appreciate you posting it here as it may also help other users facing a similar situation.
I will now mark this topic as resolved. If you have any other questions or need further assistance, feel free to open a new topic.
Best Regards.
-
This reply was modified 4 months ago by
-
AuthorPosts
The topic ‘Split: Gutenberg Blocks not available’ is closed to new replies.
- You must be logged in to create new topics. Login / Register