[Resolved] Woocommerce Snippet Font and Color

Home Forums Support [Resolved] Woocommerce Snippet Font and Color

Home Forums Support Woocommerce Snippet Font and Color

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #616445
    Catalina

    Hello!

    I added a snippet to be able to add a note to my store at the checkout, which worked really well. I would like now to make this note bigger and in bold and if possible in a different font color… Any ideas how this could be done? (I am a newbie on snippets, so quite scared to mess it up!)

    Below is the snippet, it might be helpful for others as well πŸ™‚
    Have a great day!
    Catalina.

    add_action( ‘woocommerce_before_checkout_form’, ‘mystore_notice_forpayments’ );

    function mystore_notice_forpayments() {
    echo ‘<p class=”allow”>If you experience problems with your payment, contact us at cv-coaching.net</p>’;
    }

    GeneratePress 2.1.3
    #616564
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    p.allow {
        font-weight: 700;
        color: #000;
        font-size: 20px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know.

    #616580
    Catalina

    Absolutely perfect Leo!!! πŸ™‚
    Thanks so very much!

    #616649
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.