Men in the code somewhere to change the color of only this one button

This topic has 7 replies, 2 voices, and was last updated 8 months, 2 weeks ago ago by coffeedog

  • Avatar: coffeedog
    coffeedog
    Participant
    August 19, 2023 at 16:16

    men in the code somewhere to change the color of only this one button ? Thanks

    https://imgur.com/dt5KDQc

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 20, 2023 at 10:26

    Hello, @coffeedog,

    Thank you for contacting us and for using XStore.

    The next custom CSS code can be used:

    .woocommerce [packetery-renderer="after-rate"] .packeta-widget-button button {
        color: red;
        font-size: 11px;
        padding: 5px;
        border-radius: 5px;
        font-weight: 600;
        text-transform: none;
    }

    Kind Regards,
    8theme team

    Avatar: coffeedog
    coffeedog
    Participant
    August 20, 2023 at 10:34

    thank you for your reply

    I need to change the background , not just the text.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 20, 2023 at 12:09

    Hello, @coffeedog,

    You can use the next custom CSS code – background-color: coral;
    https://www.w3schools.com/cssref/pr_background-color.php

    Kind Regards,
    8theme team

    Avatar: coffeedog
    coffeedog
    Participant
    August 20, 2023 at 13:21

    you are working great, I still want to ask men to paste the code somewhere in .woocommerce?? so I don’t jam the global ? Can I find it somewhere in the template? Thanks.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 20, 2023 at 14:37

    Hello, @coffeedog,

    Please add the code in Theme Options > Theme custom CSS > Global.
    You can write it with comments to know what the code does, for example: https://prnt.sc/fZlENv6kMm8D
    /* styles for packeta button on checkout page */ – or any text you want to write.

    Kind Regards,
    8theme team

    Avatar: coffeedog
    coffeedog
    Participant
    August 20, 2023 at 16:14

    ok nice

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘men in the code somewhere to change the color of only this one button’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.