• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / Hover for CSS button code:

[Resolved] Hover for CSS button code:

· ·

Home › Forums › Stripe Payments Plugin › Hover for CSS button code:

Tagged: css

  • This topic has 2 replies, 2 voices, and was last updated 4 years ago by prisca107.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 28, 2021 at 11:04 pm #3937
    prisca107
    Participant

    I’m using this code (which I love) to create new “buy” button – https://s-plugins.com/customize-stripe-payment-button-appearance-using-css/ But can’t seem to figure out how to add in the hover options for css.

    What am I missing?

    Test Button: (no working hover) [kellyfennelly.com/asp-products/test-product-1]
    Button sample trying to re-create: [kellyfennelly.com/button]

    Code:

    .my-custom-style-1 {

    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #333233), color-stop(1, #333233));
    background:-moz-linear-gradient(top, #333233 5%, #333233 100%);
    background:-webkit-linear-gradient(top, #333233 5%, #333233 100%);
    background:-o-linear-gradient(top, #333233 5%, #333233 100%);
    background:-ms-linear-gradient(top, #333233 5%, #333233 100%);
    background:linear-gradient(to bottom, #333233 5%, #333233 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=’#333233′, endColorstr=’#333233′,GradientType=0);
    background-color:#333233;
    -moz-border-radius:0px;
    -webkit-border-radius:0px;
    border-radius:0px;
    border:10px solid #333233;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Raleway;
    font-size:16px;
    font-weight:regular;
    padding:12px 44px;
    text-decoration:none;
    text-shadow:0px 1px 0px #333233;
    hover:#3e8e41;
    }

    Thanks!

    April 29, 2021 at 4:19 am #3942
    Admin
    Keymaster

    That’s going to be hard to figure out and will need to be handled as a custom job. Instead try the following feature so you can hook the payment process to the button you are creating using your theme:

    Using a Text Link Instead of the Buy Now Button Shortcode

    May 3, 2021 at 5:38 pm #3951
    prisca107
    Participant

    Thank you so much – I’ll try this solution for the client tomorrow!

    Thanks!!!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.