Archived topic
Woocommerce Snippet Font and Color
3 replies · Started by Catalina on July 5, 2018
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>';
}
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.
Absolutely perfect Leo!!! :-)
Thanks so very much!
No problem :)