Centering Out of Stock Text at single product page
-
Hi there,
I already looked at google and at the forum on how to centering the out of stock text, but I only found on how to change the text.
I already tried using cssp.stock.out-of-stock{ text-align:center; }
but, no change at all, even after refreshing the page using CTRL+F5.
I know the trigger is from variable.php
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
I tried to use the old HTML 4.01 <center>, the Out of Stock text will go to the center, but the content below it too. If I use </center>, it’ll be back to left align again.
Is there a way for centering the text? And also, I can’t provide with the link, I still need to fix some css before make the web online.
Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Centering Out of Stock Text at single product page’ is closed to new replies.