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
  • Created
  • Last Reply

You didn't tell us the site URL.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.