Text/Label Spacing Issue on Woocommerce Payment Gatway

Theme and Plugin Support

Text/Label Spacing Issue on Woocommerce Payment Gatway Open

Viewing 1 reply thread
  • Author
    Posts
    • #105561
      Tricia Fox
      Participant

      We’re having an issue with the spacing on the right hand side gateway – the label is overlapping the word Credit Card just under the Paypal option, see below.

      It’s caused by the margin on the left being set incorrectly and we can’t seem to edit the style.css to override it.

      Can you please send me code to put in custom css that will fix this issue.

      Link below to illustrate.

    • #105674
      abhirup
      Moderator

      Hi,
      After we heard from you we have checked our end. But can’t found this type of issue.
      So maybe it’s a conflict related issue. using below code you can fix this issue.

      Please add this code in the function.php of the current active theme :

      add_action('wp_head', 'add_custom_css');
      function add_custom_css(){
          if(is_checkout()){
          ?>
          <style>
          li.wc_payment_method.payment_method_wcmp-stripe-marketplace label::before{ 
                padding-right:20px !important; 
              }
          </style>
          <?php
          }
      }
      Copy

      Regards

Viewing 1 reply thread

Please LOGIN to reply to this topic

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price