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

Bedford: How do I make the banner text shrink in size, instead of wrapping?

Question

Is there a simple way to make the banner text shrink in size when the screen shrinks instead of wrapping, and dropping a line?

I am using the Bedford Template.

Edited by PMDesigner
Initial Revision

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

You can set the font size using viewport width (vw) units instead of pixels (68px by default). These units specify a size relative to the width of the browser's viewport. As an example, add this to Design > Custom CSS and then gradually reduce the width of your browser window:


.desc-wrapper p>strong, .desc-wrapper p>em>strong {
 font-size: 4vw;
}

I hope that helps

-Paul

Squarespace Expert & Professional Developer

Contributors to this forum voluntarily give their time to help you. If we correctly answer your question, please accept the answer by clicking Accept below it (you'll see it when you're logged on). If an answer doesn't help, feel free to ask for more help or wait for other forum users to add their comments and/or answers.

Whenever an accepted answer helps you, please vote it up using the up arrow on the right. This helps other forum users by giving them confidence in an answer.


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Developer and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDate Picker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links.

Share this post


Link to post
  • 0

Hey, thanks for the response! This is working quite nicely.

One more thing I do want to ask, How would you increase the maximum width of the banner text so that the text goes all the way out to the edge of the screen? Right now it seems like the width of the text will not go past a certain point.

Thanks.

Share this post


Link to post
  • 0

Hey, thanks for the response! This is working quite nicely.

One more thing I do want to ask, How would you increase the maximum width of the banner text so that the text goes all the way out to the edge of the screen? Right now it seems like the width of the text will not go past a certain point.

Thanks.

Share this post


Link to post
  • 0

The left and right margins are by design. You can reduce them by increasing the maximum width beyond 956 pixels.


.desc-wrapper {
   max-width: 956px;
   margin: 0 auto;
}



sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Developer and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDate Picker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links.

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...