• 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 / About CSS customizing of Payment Popup

[Resolved] About CSS customizing of Payment Popup

· ·

Home › Forums › Stripe Payments Plugin › About CSS customizing of Payment Popup

  • This topic has 5 replies, 2 voices, and was last updated 4 years, 1 month ago by ovidiubica.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 16, 2021 at 8:54 am #3873
    riosa
    Participant

    Hello,

    Regarding the color of the button of Payment Popup, I’ve tried to change the color using css, but following selectors didn’t work for it.
    https://pasteboard.co/JXznMoU.png

    I would be happy if you could give me an advice what selector should I use.

    <tried selectors>
    “#submit-btn”
    “.pure-button, .pure-button-primary”
    “.pure-button-primary, .pure-button-selected, a.pure-button-primary, a.pure-button-selected”

    <tried property>
    background-color: #000 !important;

    I referenced following article:

    Customizing the Payment Popup Using CSS

    Thank you for your corporation.
    Regards,

    Riki

    April 16, 2021 at 9:19 am #3874
    ovidiubica
    Moderator

    That’s easy, try this …

    button#submit-btn.pure-button {
        background: #000000;
    }
    April 16, 2021 at 9:36 am #3875
    riosa
    Participant

    Thank you for your quick support!
    I tried the one with “!important” but still didn’t work.

    Following is the site page. Also WP theme is “Twenty Twenty” and I’m using as almost default. [torihom.com/paymentdemo]

    Is there other way to change the color?

    Thank you,

    April 16, 2021 at 9:50 am #3876
    ovidiubica
    Moderator

    The code above should work if you put it inside Stripe Payments – Settings – Advanced Settings – Payment Popup Additional CSS

    April 17, 2021 at 1:16 am #3879
    riosa
    Participant

    The code worked well as you advised.
    Thank you so much for your support!

    April 17, 2021 at 6:37 am #3880
    ovidiubica
    Moderator

    No problem, your CSS was probably fine except the payment popup loads an iframe which is no longer accessible using CSS from outside the frame. The plugin option loads the CSS inside the iframe.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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.