Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1229589
    bambooinn
    Participant

    dear Theme X,

    could you help me with some CSS of woocommerce checkout page, the fonts in the input box is too small and not white (enough).

    the site:

    http://dev.bamboo-inn.nl/shop/catering/catering-menu-1/?add-to-cart=1358&quantity=20

    You can then click on ‘checkout’, and when asked for filling in the details, the fonts are not good (I couldn’t guess what CSS I had to use… ).

    (attachement: for instance the box with the address has examples what to fill in, those text (straat + huisnummer) are all to difficult to read).

    Thanks!

    #1229623
    Thai
    Moderator

    Hi There,

    Please add the following CSS under Customizer > Custom > Global CSS:

    .woocommerce-account form select, 
    .woocommerce-account form textarea, 
    .woocommerce-account form input[type="tel"], 
    .woocommerce-account form input[type="text"], 
    .woocommerce-account form input[type="email"], 
    .woocommerce-account form input[type="password"], 
    .woocommerce-checkout form select, 
    .woocommerce-checkout form textarea, 
    .woocommerce-checkout form input[type="tel"], 
    .woocommerce-checkout form input[type="text"], 
    .woocommerce-checkout form input[type="email"], 
    .woocommerce-checkout form input[type="password"] {
        color: #fff;
        font-size: 18px;
    }
    .woocommerce-invalid input {
        background-color: #d47979;
    }
    .woocommerce-validated input {
        background-color: #56af56;
    }

    Hope it helps 🙂

    #1229736
    bambooinn
    Participant

    Hello,

    thanks for the quick reply. I input the CSS. While I can now tweak the validated input, the ‘original’ input is still ‘small’ letters.

    So,

    1) validated input, it changes

    2) the original input remain ‘small’.

    Help?

    #1229874
    Christian
    Moderator

    Please add !important like

        color: #fff !important;
        font-size: 18px !important;

    I don’t see the CSS being implemented though. It could be that you haven’t copied it completely or there’s a syntax error in your CSS. Please check.

    Thanks.

    #1230283
    bambooinn
    Participant

    Hi

    Thanks, checked css, yes was an error in the CSS, I used the wrong commenting function. But I had to add the important to the validated output, before it take it. So for future references, the correct working one (for my site) is:

    .woocommerce-account form select, 
    .woocommerce-account form textarea, 
    .woocommerce-account form input[type="tel"], 
    .woocommerce-account form input[type="text"], 
    .woocommerce-account form input[type="email"], 
    .woocommerce-account form input[type="password"], 
    .woocommerce-checkout form select, 
    .woocommerce-checkout form textarea, 
    .woocommerce-checkout form input[type="tel"], 
    .woocommerce-checkout form input[type="text"], 
    .woocommerce-checkout form input[type="email"], 
    .woocommerce-checkout form input[type="password"] {
        color: #fff;
        font-size: 18px;
    }
    .woocommerce-invalid input {
        background-color: #d47979;
    }
    .woocommerce-validated input {
        background-color: #56af56 !important;
    }
    #1230414
    Jade
    Moderator

    Thanks for sharing.

    🙂

    #1230416
    Jade
    Moderator

    Thanks for sharing.

    🙂

  • <script> jQuery(function($){ $("#no-reply-1229589 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>