• Resolved horsee

    (@horsee)


    Using version 4.8.6. When I place the checkbox for subscribing to the newsletter prior the submit button, it is incorrectly rendered. When I put it after e-mail address, it is displayed correctly.

    How can we reproduce this issue?
    MC4WP – Integrations – Woocommerce Checkout – select position Before Submit button
    Refresh checkout page – the checkbox appear there but it is incorrectly rendered
    Technical info
    WordPress version: 5.8.3
    Mailchimp for WordPress version: 4.8.6.
    Relevant plugins in case of a bug: Woofunnels, but the issue is reproducible also with a standard woocommerce checkout

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Lap

    (@lapzor)

    This is most likely caused by the CSS styling code loaded by your theme.
    Can you add the checkbox after the submit button for me and share a link to where I can inspect the code please? Thanks!

    Thread Starter horsee

    (@horsee)

    You can test it on this page:

    https://hobbyhorsee.com/checkout/

    Please, enter some details about the order and then press the button Proceed to next step – then you can see the opt in text for newsletter subscription.

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @horsee,

    Please check https://www.dropbox.com/s/ekycshjfkeuebgv/Screen%20Shot%202022-01-10%20at%207.36.11%20PM.png?dl=0.

    I did not see any “subscribe” checkbox. When you say “incorrectly rendered”, can you please share a screenshot of how that looks?

    Thread Starter horsee

    (@horsee)

    Hi,

    it is strange, when i open the page i can see the following:

    https://1drv.ms/u/s!AgV9ifR5DcDXiJ89LL26Td3pGkKesQ?e=cC7Dot

    As you can see there is a second button. Not sure, why it is not rendering to you. Can you try again. I have tested it with a case I was not logged in – so it shall display you same way

    Plugin Contributor Lap

    (@lapzor)

    For some reason your theme doesn’t apply the 25 pixel padding it applies to all other checkboxes when the checkbox is in that position. Here is some CSS code to fix that:

    .mc4wp-checkbox-woocommerce label { padding-left: 25px; }

    You can add this code under Appearance > Customize > (…) > Additional CSS (or similar naming, depends on your theme). Or if you don’t have a spot to put custom CSS in your theme you can add it via a plugin like Simple Custom CSS.

    Hope that helps. If you have any further questions please let me know.

    Thread Starter horsee

    (@horsee)

    thank you it is displaying correctly now

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Incorrect rendering of subscription text when it is places before Submit button’ is closed to new replies.