-
AuthorPosts
-
October 9, 2019 at 10:00 pm #1146645
Hi,
I need some help with the woocommerce product grid and single item page:
Product grid- Increase the margin between the items in the 4 column row
- Remove the “inkl Mwst” and the “Kostenloser Versand”, I only want to display it on the single product page. Why does it sometimes show inkl 20% Mwst” and sometimes only “inkl MwSt”? The setting in the products is the same for all products but it seems to vary based on if it’s a simple product or a variant product
- Increase the size of the price
- change the size of the the title
Single Product Page
- How can I add a break between “inkl. MwSt.” and “Kostenloser Versand”?
Thanks for your help!
CarolinOctober 14, 2019 at 11:29 am #1147807Hey Carolin,
Thank you for the inquiry.
You can use the following css code to create the adjustments listed above.
div .products .product { margin: 0 2% 2% 0; width: 23.25%; } #top .price, #top .price span, #top del, #top ins { font-size: 20px; line-height: 30px; } .products .product h2, .products .product h3, .products .product h4, .products .product h5, .products .product h6, h2.woocommerce-loop-product__title { font-size: 1.2em; line-height: 1.4em; }
We don’t see the value added tax text in the grid. Did you remove it?
Best regards,
IsmaelOctober 17, 2019 at 11:02 pm #1149054Hi Ismael,
thanks, this is working great! How can I limited the modification to the /shop URL?
If I don’t do this, it messes up my small product grid in other parts of the website..Yes, I deleted the VAT and delivery text in the grid with
.product p.shipping-costs-info, .product p.tax-info {
display: none;
}However, it is still displayed on the single product page. How can I add a <br> between the MwSt and Delivery info?
Thanks a lot
CarolinOctober 18, 2019 at 10:34 am #1149201Hi,
Thank you for the update.
You can prepend the “page-id-1094” class name in the css selectors to limit the styling to the shop page. Example:
.page-id-1094 div .products .product { margin: 0 2% 2% 0; width: 23.25%; }
For the tax info in the single product page, please use this:
.wc-gzd-additional-info.tax-info { display: none !important; }
Best regards,
IsmaelOctober 18, 2019 at 11:55 pm #1149434Does this code add the <br>?
I don’t want to hide the info but add a break..Thanks
CarolinOctober 21, 2019 at 12:22 pm #1149836Hi Carolin,
No, it does not, and you can some margin if you need it.
Best regards,
VictoriaOctober 22, 2019 at 10:48 am #1150110Hi Victoria,
so how can I add the line break between VAT and delivery info on the single product page?Thanks
CarolinOctober 23, 2019 at 8:45 am #1150409Hi,
Thank you for the clarification.
You can use this css code to move the shipping info in its own line, separating it from the tax info.
.wc-gzd-additional-info.shipping-costs-info.variation_modified { display: block !important; }
Best regards,
IsmaelOctober 30, 2019 at 10:23 pm #1152536Hi Ismael,
perfect, thanks for the excellent support!
Best,
CarolinOctober 31, 2019 at 12:29 am #1152573Hi,
Did you need additional help on this topic or shall we close?
Best regards,
Jordan ShannonOctober 31, 2019 at 9:48 am #1152634No, we can close this topic now, thank you!!
November 1, 2019 at 6:53 am #1152939 -
AuthorPosts
- The topic ‘Styling product grid and single product page – woocommerce’ is closed to new replies.