Jump to content

Prevent Word Wrap on Header

Recommended Posts

Posted (edited)

image.thumb.png.c2b200d5f149ad1d3181971dc9cdf591.png

I would like to prevent the word Gathering from wrapping. I tried using the code 

/* prevent text wrap mobile */
* {
    white-space: nowrap !important;
}

but that removes wrapping for the body.

Screenshot 2024-07-04 at 6.01.22 PM.png

Edited by opalcraft
Link to comment
  • Replies 3
  • Views 203
  • Created
  • Last Reply

Top Posters In This Topic

On 7/6/2024 at 3:28 AM, tuanphan said:

If text is Heading, for example Heading 2, you can replace

*

with

h2

Hi, thank you for responding. It is Body Text from a template. I am not quite sure how to change it to H2. Would that prevent the letter G from wrapping? 

Link to comment
On 7/8/2024 at 4:58 AM, opalcraft said:

Hi, thank you for responding. It is Body Text from a template. I am not quite sure how to change it to H2. Would that prevent the letter G from wrapping? 

Can you share link to page where you have problem? I can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.