Jump to content

Force text box to fill width of the page

Recommended Posts

Site URL: https://polygon-grapefruit-adaw.squarespace.com/

Hello, 

 

I'm trying to get the H1 text on this page to span the entire width of the page. I have succeeded with the left hand side, but everything I've tried thus far results in the word breaking/hyphenating and wrapping to a new line. I've attached an example of what I'm trying to achieve. 

 

Site: https://polygon-grapefruit-adaw.squarespace.com/

P/word: FD2022

 

 

This is how it looks - 

1778845252_ScreenShot2022-02-08at10_17_14am.thumb.png.96372d2e6ab1a2b28372d2b5981afd9d.png

 

 

This is how I would like it to look - 

FD BANNER.png

Edited by Nicole_Furneaux
Link to comment
On 2/8/2022 at 6:16 AM, Nicole_Furneaux said:

Site URL: https://polygon-grapefruit-adaw.squarespace.com/

Hello, 

 

I'm trying to get the H1 text on this page to span the entire width of the page. I have succeeded with the left hand side, but everything I've tried thus far results in the word breaking/hyphenating and wrapping to a new line. I've attached an example of what I'm trying to achieve. 

 

Site: https://polygon-grapefruit-adaw.squarespace.com/

P/word: FD2022

 

 

This is how it looks - 

1778845252_ScreenShot2022-02-08at10_17_14am.thumb.png.96372d2e6ab1a2b28372d2b5981afd9d.png

 

 

This is how I would like it to look - 

FD BANNER.png

Try adding to Home > Design > Custom Css

#block-yui_3_17_2_1_1644459048450_5213 img {
  width: 90vw !important;
  height: auto !important;
  left: 50% !important;
  transform: translateX(-50%);
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.