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);
Link to comment
  • Replies 4
  • Views 285
  • 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;


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

Contact Customer Care - Learn CSS - Buy me a coffee (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.