• Resolved mavcorn

    (@mavcorn)


    I have a pop-up set to appear after users scroll 20% down any page. The “Submit” button is set to be red, turning blue on hover-over. That’s exactly how it functions in the preview, but on the frontend the button is gray and doesn’t change color on hover. Other users see the same thing.

    I thought it might have been the animation the pop-up uses making it “stuck”, but changing it to have no animation didn’t do anything.

    Would appreciate help! Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @mavcorn

    I hope you’re well today!

    It seems that there’s a code that’s “overriding” it. The overriding CSS seems to be “inlined” in page source and most likely it comes either from some “cookie policy” plugin/popup or it’s from the theme.

    It’s difficult to say exactly with all the CSS being optimized (which means that some of it is a bit “scrambled”, combined and moved to different places than it would normally be) but that code is “overpowering” Hustle’s CSS.

    I’d start with trying to clear up Autoptimize cache and all other cache on site (if there is any). Also, if you are using some kind of “builder” try forcing it to “re-generate” its CSS – builders like Elementor or built-in into Avada theme have such option so some other themes/builder most likely would have that too.

    IF that doesn’t help, you might want to “force” these colors with additional custom CSS added via “Appearance -> customize -> additional CSS”:

    button.hustle-button {
      background-image:none!important;
    }

    It’s not a “nice” CSS rule but should “overpower” the one that currently overrides button settings.

    Best regards,
    Adam

    Thread Starter mavcorn

    (@mavcorn)

    Hi, Adam!

    I just went through a big journey of cache-clearing with another problem, so that isn’t part of the problem. I could tinker around with seeing what’s inlined, but I’m happy with the additional CSS rule. A simple copy-paste for my sanity, and all.

    Feel free to alert me if that rule might bring down my whole site, though! Then I’ll look into my inlined CSS/theme.

    For now, that did the trick. I’ll mark this as resolved. Thanks a bunch!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Pop-Up’s Submit Button is Stuck Gray’ is closed to new replies.