• Resolved nine chances west

    (@nine-chances-west)


    My preferred theme Shop Isle is putting the “I’ve read and accepted the terms and conditions” checkbox smack on top of the first three characters of the line of text.
    Other themes are not doing this.

    When I view the page source, all text line characters are there. When I copy and paste the line directly off the checkout page, I get all the characters. Only in viewing the checkout page does the customer see the checkbox followed by “e read and agree to the terms and conditions.

    I’m searching through the free WooCommerce code hoping to perhaps add four spaces or three other characters in the line of text. Can’t find!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You’ll need put in some custom css to restyle that area. For advice, please post the url to your site. Best not to alter WooCommerce files because any edits will be overwritten by updates.

    Thread Starter nine chances west

    (@nine-chances-west)

    Yes.
    Where is that area? That is my question. Where is it?

    Thread Starter nine chances west

    (@nine-chances-west)

    The code is in:
    wp-plugins/woocommerce/templates/checkout/terms.php

    unless you have a theme template override, in which case the relevant file is:
    wp-content/your-theme-name/woocommerce/checkout/terms.php

    The link is not live, but I loaded up Theme Isle and got the same problem. The custom css to fix it is:

    .wc-terms-and-conditions .woocommerce-form__label-for-checkbox span {
      margin-left:20px;
    }
    .wc-terms-and-conditions .woocommerce-form__label-for-checkbox span.required {
      margin-left:4px;
    }

    Custom css can be entered at:
    Dashboard > Appearance > Customise > Additional CSS

    Thread Starter nine chances west

    (@nine-chances-west)

    Success, Lorro! Thank you! This works perfectly!

    (I worked on through the night and again today with no success. Was beginning to look into overwriting the html, instead. This is so much more elegant and I’m grateful to stop hours of searching and testing! I can now proceed.)

    Again, thank you so much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Where is code for Terms and Conditions?’ is closed to new replies.