Jump to content

AleksandraPad

Circle Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by AleksandraPad

  1. Site URL: https://lanternfish-springtail-xgn5.squarespace.com/

    Hey,

    I'm having some issues with adding a hover effect on button element in a newsletter block.
    When I'm in the editor (Design > Custom CSS) everything works great in the site preview, but once I close the editor it stops working. I use a Chrome browser as a default, but I also check the page in Safari and the hover effect doesn't work there either.

    Here is the code I use:

    // Newsletter Button Hover //

    .newsletter-block .newsletter-form-button {
        transition: all 0.4s !important;
    }

    .newsletter-block .newsletter-form-button:hover {
       color: #ffffff !important;
       background-color: #D8BD81 !important;
       opacity: 1 !important;
    }

    I used inspect mode to check all classes attributed to this button, but only these seem to kind of work.

×
×
  • 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.