• We had been using several custom css to style your plugin but i notice that recently they’ve stopped working though i can’t see why. can you check? http://dev.cdchk.org/get-involved/donate/

    .give-btn {
        -moz-user-select: none;
        background-color: #f68121 !important;
        background-image: none;
        border: none;
        border-radius: 0;
        color: #fff;
        cursor: pointer;
        display: inline-block;
        font-size: 17px;
        font-weight: normal;
        line-height: 1.42857;
        margin-bottom: 0;
        padding: 6px 12px;
        text-align: center;
        transition: all 0.2s ease 0s;
        vertical-align: middle;
        white-space: nowrap;
    }
    .give-form-title {
    display: none !important;
    }

    https://wordpress.org/plugins/give/

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Those class names are correct and when I Inspect Element on that page I don’t see your custom styles appearing at all. But here’s a couple things I notice that might be relevant:

    1) You are using a minification plugin. Try deleting it’s cache, or even disable it and re-activate it again to see if that’s part of the problem. If so, you should hit up that plugin author’s support to see how to get your styles loading correctly.
    2) If that’s not the problem then it might be related to how you are enqueueing your custom CSS. I’m not sure how you are applying your custom styles, but they have to be applied AFTER the Give styles. If you are using Jetpack or Modular Custom CSS those will handle that automatically for you (see our guide on those here: https://givewp.com/documentation/resources/handling-custom-css-in-wordpress/) But if you are adding that custom CSS via it’s own stylesheet or in your theme stylsheet you might have to double-check and make sure it’s enqueued properly.

    Let me know how that goes. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘custom css no longer working’ is closed to new replies.