Jump to content

How to use CSS to change the Promotional Pop-Up button on hover

Recommended Posts

Posted (edited)

Add the following to Design > Custom CSS.

.sqs-slide-wrapper[ data-slide-type = "popup-overlay"] .button-style-outline [ data-compound-type = "popup-overlay-action" ] button[ type = submit ]:hover {

  color : white;
  
  }

@media ( min-width : 1px ) and ( max-width : 600px ) {

  .sqs-slide-wrapper[ data-slide-type = "popup-overlay" ] .sqs-slide-container[ data-slide-type = "popup-overlay" ].overlay-mobile-styles-enabled.button-style-outline [ data-compound-type = "popup-overlay-action" ] button[ type = submit ]:hover {
  
    color : white;
    
    }
  }

This is for v7.1.

Let us know how it goes.

Edited by creedon
version 2

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.

  • 7 months later...
Posted

@SW_2020

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

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.

Posted

@SW_2020

Add the following to Design > Custom CSS.

.homepage .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].button-style-outline [data-slice-type="buttons"] a:hover {

  color : white;
  
  }

This is for v7.1 using the Brine template family.

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.

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.