Jump to content

gradient text issue

Recommended Posts

Hi! I tried this on my site title, but for some reason it makes the bottom half disappear in mobile view. it appears to be because of the "transparent" part of the code, but without that the gradient goes away. Any thoughts?

 

.header-title-text a {
background: -webkit-linear-gradient(45deg, #5D1916, #933709, #D2691E);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.header-title-text a:hover {
background: -webkit-linear-gradient(90deg, #FF5A36, #FF7D26, #FFB347);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

Link to comment
  • Replies 1
  • Views 391
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

6 hours ago, muffy said:

Hi! I tried this on my site title, but for some reason it makes the bottom half disappear in mobile view. it appears to be because of the "transparent" part of the code, but without that the gradient goes away. Any thoughts?

Hey @muffy please provide You site URL.

SquareRefresh, premium plugins & templates that have an elevated feel.

Plugins: Have your site stand out. 
Templates: Our templates are designed with versatility in mind.
Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.

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.