Jump to content

Targeting a specific button,

Recommended Posts

  • Replies 3
  • Views 427
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add the following to Design > Custom CSS.

.homepage.primary-button-style-solid #block-yui_3_17_2_1_1646949480564_9917 .sqs-button-element--primary,
.homepage.primary-button-style-solid #block-yui_3_17_2_1_1646616750391_8087 .sqs-button-element--primary

    background : linear-gradient( -45deg, #f24a2f, #772343, #353566 );
    background-size : 400%;
    -webkit-animation : Gradient 10s ease infinite;
    -moz-animation : Gradient 10s ease infinite;
    animation : Gradient 10s ease infinite;

This is for v7.1.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.