Jump to content

Apply CSS Gradient to scaled text in 7.1

Go to solution Solved by tuanphan,

Recommended Posts

Hello, I'm trying to apply a gradient to some scaled text but having no luck. I can do it for regular text (h1, h2, p, etc) by using the following CSS snippet, but it doesn't work for the scaled text. It just disappears. Can you help?

#block {
  background-image: -webkit-linear-gradient(135deg,#FF512F,#FF0076);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 5/11/2023 at 10:31 PM, ferniebiggie said:

Sure. It’s https://www.lubbockpride.org/test-page. The text title at the very top is the one I’m trying to gradient. You can see other examples of gradient text in the same page, just not scaled.

Add to Design > Custom CSS

span.sqsrte-scaled-text span {
   	background: linear-gradient(to right, #30CFD0 0%, #330867 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

image.thumb.png.ccd92f5a4835a32a65213f0d49bf8aed.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 5/13/2023 at 10:51 PM, tuanphan said:

Add to Design > Custom CSS

span.sqsrte-scaled-text span {
   	background: linear-gradient(to right, #30CFD0 0%, #330867 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

image.thumb.png.ccd92f5a4835a32a65213f0d49bf8aed.png

Thank you so much!!!

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.