Jump to content

Add a line break to site title using CSS, not using tag

Recommended Posts

Hi folks!

I've found lots of answers regarding hiding site titles, changing font colors, etc. but haven't been able to track this one down.

Looking to insert a line break into the site title, so instead of this:

A wonderful site about eating delicious things

I'd like this:

A wonderful site
about eating delicious things

Using the < b r > tag works, but then shows up literally as < b r > in other places around the site, including donation reply emails, browser tabs, and other places.

From: A wonderful site< b r >about eating delicious things
Subj: Thanks for your donation!

Any thoughts on how to inject the line break using CSS or another means of achieving the above without the fallout?

Best,
SyddyS

Link to comment
  • Replies 8
  • Views 4k
  • Created
  • Last Reply

You didn't tell us the site URL.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

A trial site address of something.squarespace.com is fine. Asking us to help without providing a link is like going to a car mechanic without your car.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

Okeedokee, here you go! ticonderoga-cyga.squarespace.com

Note the browser tab has the BR tag in it. Was able to fix this, but it started pop up in other places, like as I said above in donation emails, etc.

Would love to get the break using CSS instead. Thanks!

Link to comment

Okeedokee, here you go! ticonderoga-cyga.squarespace.com

Note the browser tab has the BR tag in it. Was able to fix this, but it started pop up in other places, like as I said above in donation emails, etc.

Would love to get the break using CSS instead. Thanks!

Link to comment
  • 11 months later...

Go to settings - advanced - code injection

Enter the following in the header box:


  <script>

document.title = "New Document Title"

</script>

Replace New Document Title in quotations with whatever you want to name it.

Save - done.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.