Title: Flex compatibility
Last modified: February 11, 2024

---

# Flex compatibility

 *  Resolved [morvy](https://wordpress.org/support/users/morvy/)
 * (@morvy)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/flex-compatibility/)
 * Hi,
 * seems like the plugin has issues when `<li>` is set to display:flex;. Icons are
   then aligned to left, sticked to the text. Blocksy theme uses it, but for good
   reasons, so adding 1 line of code in your plugin seems like a better way. Fix
   is easy, hope it’ll be in next release:
 *     ```wp-block-code
       .wc-stripe-card-icons-container,
       .wc-stripe-paymentRequest-icons-container {
         margin-left: auto;
       }
       ```
   
 * Kind Regards,
   P.

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/flex-compatibility/#post-17416761)
 * Hi [@morvy](https://wordpress.org/support/users/morvy/)
 * Thanks for the feedback, we’ll take a look. There are many themes out there and
   it’s impossible to make the plugin look perfect for all of them. The nice thing
   is WordPress makes it very easy to add custom CSS to your site so you can make
   adjustments to suit your needs.
 * Kind Regards
 *  Thread Starter [morvy](https://wordpress.org/support/users/morvy/)
 * (@morvy)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/flex-compatibility/#post-17416766)
 * Hi,
 * of course I’ve added it to my custom css for checkout, but I’ve seen a lot of
   flex aligned themes, it’s not just Blocksy that does it.
 * At least this may be helpful to others with icon alignment issues. It also happens
   because of the icons being wrapped in a div, which is something I haven’t seen
   in other themes (and because of that, img alignment from Woo or Blocksy doesn’t
   work)

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

The topic ‘Flex compatibility’ is closed to new replies.

 * ![](https://ps.w.org/woo-stripe-payment/assets/icon-256x256.png?rev=2611337)
 * [Payment Plugins for Stripe WooCommerce](https://wordpress.org/plugins/woo-stripe-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-stripe-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-stripe-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-stripe-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-stripe-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [morvy](https://wordpress.org/support/users/morvy/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/flex-compatibility/#post-17416766)
 * Status: resolved