• I don’t know why or when this happened but my checkout page has changed colour in a few spots, maybe after an update it changed, attached is a screenshot of my page, basically i want all the white to be dark like my site with light grey text.

    http://www.magmabeads.com/test/1.jpg

    Not everything has changed, a lot of the boxes are still good, but the top coupon bar is now white, email address, phone, and bottom paypal bar.

    my site is http://www.magmabeads.com if you want to see, you have to add a product to see the checkout page.

    Does anyone know how to get the colours back to what it was? or point me in the direction of the area to edit?

    Thank you all for any help.

    https://wordpress.org/plugins/woocommerce/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Try this in your custom css:

    .woocommerce .woocommerce-info, input,
    .select2-container .select2-choice,
    .woocommerce-checkout #payment
    {background-color:#232323}

    If your theme does not have a setting where you can enter custom css, you can use a plugin like this one:
    https://wordpress.org/plugins/simple-custom-css/

    Avoid editing the theme’s style.css so that changes aren’t overwritten by updates.

    Thread Starter t3x66

    (@t3x66)

    Thanks Lorro,

    Unfortunately that did not work, i don’t understand as everything was fine recently, i don’t even know when it changed…

    The weird thing is that only a few items are white, the rest are all good.

    Thread Starter t3x66

    (@t3x66)

    Actually something is strange, i have a lot code in the custom css section, i tried removing everything and reloading the site and no changes occur, what could be happening?

    My style suggestion didn’t work because the relevant file: wp-custom-css.css contains parse errors preventing it from being read. Maybe this file was edited recently.

    The syntax for comments in css files is:

    /* this is a valid comment */
    /* so is
    this */
    ///// but this causes a parse error

    To check for other errors, you can validate your custom css using this service:
    http://jigsaw.w3.org/css-validator/#validate_by_input

    Thread Starter t3x66

    (@t3x66)

    Thanks mate, you are right it works when i remove the ///////

    I’ll have a play with the colours tonight, just a quick question, why do you think all my other custom css still work even though they have //// on the above line?

    Also if i remove all the custom css, my previous changes still work.

    Any thoughts why that would be happening?

    Cheers mate.

    wp-custom-css.css is still showing the //// in some places so not validating. I can’t really examine it as it is. Once there is a parse error, some things might work and some won’t, its no-mans land.

    Thread Starter t3x66

    (@t3x66)

    I had custom css to add a frame around the shoping cart page etc… but now without them, there is a frame around the items on the cart page.

    Maybe those were added in an upgrade of some sort?

    I also had a custom css to remove little arrows next to the products, those are now gone without the css as well, that is weird.

    The only css there is your code, which works fine thank you, however do you know how i could make the font the same colour as my other fonts? the font stayed black for example in the “email” box on the checkout page.

    Thanks a lot for all your help, i think i should have never upgraded my wordpress and woocommerce, my cart widget does not work anymore either since then so i deactivated it…

    I see that you have removed all your custom css except my snippet from above. That wasn’t my intention, only that you should reformat the //// lines. I didn’t study the other snippets but if you can bring them back they may have the cart items frame css.

    The little arrows are still there, only they are just not visible until the field has hover. To remove them use:

    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button
    {-webkit-appearance:none; -moz-appearance:none; appearance:none; margin:0}

    To make the text colour readable in the quantity box and in the checkout boxes, use:

    input {color:#afafaf}

    Your theme’s stylesheet says your theme is intended for WordPress 3.2.X (and you have 4.3.1) so consider asking the supplier if they have a theme update.

    Generally sites that don’t get updated seem to have more problems than those that do, though some here would disagree…

    Thread Starter t3x66

    (@t3x66)

    Thanks again mate, you are really helpful.

    I did remove everything because it looks fine without the additional code, as i mentioned there is a frame around the shopping cart page now, which there wasn’t before without the code. So that is weird but good 🙂

    I also had a code to make the coupon box bigger, but that code does not seem to work anymore:

    .woocommerce #content table.cart td.actions .input-text,
    .woocommerce table.cart td.actions .input-text,
    .woocommerce-page #content table.cart td.actions .input-text,
    .woocommerce-page table.cart td.actions .input-text
    {width:85px}

    The update really messed it all up, i should have never done it, Do you know why the email and phone fields are now thinner than before?

    Thanks again.

    To get all the inputs looking alike, try:

    input[type="text"], input[type="email"], input[type="tel"] {padding:8px 9px; color:#afafaf}
    .select2-chosen {padding:4px 9px; color:#afafaf}

    Persevere with the updates or your site will eventually have problems and may have security vulnerabilities which would otherwise be patched.

    Thread Starter t3x66

    (@t3x66)

    That works really well, thank you so much Lorro !!

    I understand regarding the updates, but still it is very frustrating.

    Just one more quick question, do you know how to alter the order detail page, you know the page people get redirected to once they have paid with paypal? On that page there is some text and a “download” button for my digital products. I need to change some of the text and make the download button much bigger.

    thanks again

    On my site, after PayPal, you come to the “thank you” page, then to get to the download link you would go to the “My-account” page. Generally its possible to add bits of text using a hook:
    https://docs.woothemes.com/wc-apidocs/hook-docs.html
    but to alter text you would probably have to make a new page template. Start with this file:
    /wp-content/plugins/woocommerce/templates/my-account/my-downloads.php
    and put your custom version at:
    /wp-content/themes/my-theme-name/woocommerce/my-account/my-downloads.php

    If your theme already has its own version, start with that and make a child theme for your custom version.

    PHP skills will be needed.

    Regarding the button, without buying something I can’t see it. On my site its a text link, so your button is probably theme specific. You’ll need to try browser tools:
    https://developer.chrome.com/devtools
    Alternatively your theme’s support service may be able to help.

    Thread Starter t3x66

    (@t3x66)

    No worries, i’ll check this all out.

    thank you again for all your help, do you get paid to do all this? you are a very kind person.

    All the best to you

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Checkout page changed colour.’ is closed to new replies.