Styling payment gateway options

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #3165

    TLN
    Buyer
    Post count: 131

    I’m sharing the CSS that we’re using to style our PayPal and Stripe payment options on the checkout page. Maybe this will help somebody out.

    /* Style the Stripe option (make sure it displays first) */
    div.wpi-payment_methods div.list-group-item:first-child div.radio {
    background:url(“stripe_logo_wp_invoicing.png”) left center no-repeat;
    padding-left:38px;
    line-height:0;
    }

    /* Style the PayPal option (make sure it displays second) */
    div.wpi-payment_methods div.list-group-item:last-child div.radio {
    background:url(“paypal_logo_wp_invoicing.png”) left center no-repeat;
    padding-left:38px;
    }

    /* Align the radiobox */
    div.wpi-payment_methods div.list-group-item input {
    height: 22px;
    width: auto;
    }

    The images are included here as attachments.

    #3169

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks!

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket