• Resolved mikevsa1

    (@mikevsa1)


    Hey I Just Got The Plugin and In The Code Where Do I Use Custom CSS

    This Is What It Looks Like Normally:
    [direct-stripe type="payment" amount="2999" button_id="Button1" name="Product 1" label="CLICK HERE To Buy Now" capture="true" display_amount="true" shipping_address="1" currency="USD"]

    And This Is With The Custom CSS But It Doesn’t Shows The Custom CSS:
    [direct-stripe type="payment" amount="2999" button_id="Button1" class="customButton" name="Product 1" label="CLICK HERE To Buy Now" capture="true" display_amount="true" shipping_address="1" currency="USD"]

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    Do You Use class=”CustomCSS”

    Please let Me Know What I’m Doing Wrong As Both Sections Of Code Produce The Same Look.

    • This topic was modified 7 years ago by bdbrown.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @mikevsa1,

    The shortcode doesn’t take class as an argument.

    However, you can apply your CSS styles on .direct-stripe-button class within your custom stylesheet or customizer CSS editor.

    Best regards

    Thread Starter mikevsa1

    (@mikevsa1)

    Hey Nicolas Thanks For The Quick Reply 🙂

    So Is There No Way Of Having Two Stripe Buttons, Each With Different CSS.

    Thread Starter mikevsa1

    (@mikevsa1)

    I’ve found a way around this now, it’s all good 🙂

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Great!

    Did you use the ID or you added your own markup around the buttons? 😉

    Best wishes

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom CSS Not Working?!’ is closed to new replies.