Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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!
    Carolin

    #1147807

    Hey 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,
    Ismael

    #1149054

    Hi 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
    Carolin

    #1149201

    Hi,

    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,
    Ismael

    #1149434

    Does this code add the <br>?
    I don’t want to hide the info but add a break..

    Thanks
    Carolin

    #1149836

    Hi Carolin,

    No, it does not, and you can some margin if you need it.

    Best regards,
    Victoria

    #1150110

    Hi Victoria,
    so how can I add the line break between VAT and delivery info on the single product page?

    Thanks
    Carolin

    #1150409

    Hi,

    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,
    Ismael

    #1152536

    Hi Ismael,

    perfect, thanks for the excellent support!

    Best,
    Carolin

    #1152573

    Hi,

    Did you need additional help on this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1152634

    No, we can close this topic now, thank you!!

    #1152939

    Hi,

    Thanks for letting us know, I’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Styling product grid and single product page – woocommerce’ is closed to new replies.