Guest Posted October 23, 2021 Share Posted October 23, 2021 Site URL: https://www.welcome-to-utopia.de/blog/blog-post-nine-kn2al-t0WSV Hello, I attached a screenshot for better understanding... The word "Pilzwurzelrevolution" is too long for a small screen. I would like to break just this one word so it shows like this: Pilzwurzel- revolution anytime the screen get's too small. Any idea how i can target this? I only know how to break the word using ­ but now Idea how to target this blog title / pagination link... Thank you. Link to comment
paul2009 Posted October 23, 2021 Share Posted October 23, 2021 (edited) On 10/23/2021 at 3:47 PM, ka_scal said: The word "Pilzwurzelrevolution" is too long for a small screen. I would like to break just this one word You can add the following to prevent the title overflowing its container and hyphenate it automatically. The browser is free to break words at appropriate hyphenation points, following whatever rules it chooses. .item-pagination-link .item-pagination-title { word-break: break-word; word-wrap: break-word; } Notes: This 'code' is CSS. Add to Design > Custom CSS. An example of the code being used is shown below. If this post has helped you, please click a 'Like' or 'Thanks' icon below ⬇️ Edited October 26, 2021 by paul2009 Updated About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Guest Posted October 26, 2021 Share Posted October 26, 2021 Hi Paul, when I added the suggested code, the result in the backend is perfectly fine. But when I open the life site on my mobile the word is not breaking, even if the content box is obviously too small for the content (see screenshot). Any idea how to solve this? Thank you. Link to comment
paul2009 Posted October 26, 2021 Share Posted October 26, 2021 I have updated. Please try again. tuanphan 1 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment