Archived

This topic is now archived and is closed to further replies.

  • 0

WooCommerce for PageLines Secondary text of price on top and not next to each other

Question

Posted · Report post

Hello!

 

Is it possible to move the crossed out price (regular price) to go on top of the sale price and not beside each other? I would like to do the same for the variable products and have 'from' on top of the price.

 

I've tried few tweaks in css but no luck

 

.woocommerce ul.products li.product .price del, .woocommerce-page ul.products li.product .price del{
vertical-align:bottom;
}
 
.woocommerce ul.products li.product .price .from, .woocommerce-page ul.products li.product .price .from{
padding:___;
}
 
Also tried moving it with padding but nothing was changing and I was afraid that it would leave a blank space beside the regular price.
 
 
Thanks in advance!

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Try this:

.woocommerce .amount, .woocommerce .from {
  display: block;
}

Share this post


Link to post
Share on other sites

Posted · Report post

If Ellen's suggestion worked for you, make sure you click the "mark solved" button. Otherwise, please let us know how we can further assist you.

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you!

Share this post


Link to post
Share on other sites