Viewing 1 replies (of 1 total)
  • Plugin Support Krystian

    (@inpsydekrystian)

    Hello @abdulchalik

    Unfortunately, you haven’t shared the page URL, so I am unable to test it directly. However, I can provide you with an example of CSS that can help make the button width 100% relative to its container:

    .woocommerce-checkout #ppc-button-ppcp-gateway {
        margin: auto; /* centers the div both vertically and horizontally */
        width: 100%; /* makes the button width 100% relative to its container */
    }
    

    This CSS targets the div that wraps around the PayPal button, ensuring that any modification to the div reflects on the button’s presentation. Feel free to adjust the width or other properties based on your theme’s specific requirements.

    Kind Regards,
    Krystian

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.