Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
SyddyS

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

Question

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

Edited by SyddyS
Initial Revision

Share this post


Link to post

8 answers to this question

Recommended Posts

  • 0

Hey Paul, the site's not live yet and can't be made public yet unfortunately. The above illustrates exactly what I'm trying to do, though. If it helps, I didn't mention that it's the Feed template.

Share this post


Link to post
  • 0

Hey Paul, the site's not live yet and can't be made public yet unfortunately. The above illustrates exactly what I'm trying to do, though. If it helps, I didn't mention that it's the Feed template.

Share this post


Link to post
  • 0

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.


If a response has helped you, please give thanks using the  like-20-mag.png.3997345d620e40b4760b5d7a667cad54.png button.
Need personalised help? I'm a professional Developer who works with Designers internationally. You can book me via my company's website. www.sf.digital

Share this post


Link to post
  • 0

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!

Share this post


Link to post
  • 0

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!

Share this post


Link to post
  • 0

Wow- I don't think I've ever run into the "not possible" buzz saw in the last 5 years. Usually where there's a will...

Anyone else?

Share this post


Link to post
  • 0

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.

Edited by oldchum
Initial Revision

Share this post


Link to post
  • 0

Well that makes sense... Just changes the title for that page, I'd assume. I'll have to give that a try next time I'm digging around on my site!

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...