Site logo

Archived topic

How to change the margins and padding only for Shop page?

5 replies · Started by bluebit on April 29, 2018

Viewing posts 1–6 of 6

How can I change the margins and padding for only the Woocommerce Shop, Cart, and Checkout Page, without affecting my other pages?

Hi there,

Which paddings and margins are you referring to?

All WooCommerce pages have .woocommerce and .woocommerce-page in the body tags if this helps.

If not can you link me to the page in question?

Let me know.

The outer margins/padding for this shop page https://wildfilms.co/tienda/

the product page: https://wildfilms.co/product/camiseta001/

after adding product to cart and going to checkout page, that page also needs padding on all sides of the page.

Basically since I wanted my homepage to have only an image without padding, i put padding for the entire site to 0, and now I need to add padding on just those selected pages.

that worked, thank you. Do you know how to change the shopping cart, so that when you add an item, it only shows 1, and if you add 2 items it shows the number 2, instead of showing the entire price, it clogs up the menu.

No problem :)

Any chance you can open a new topic for the separate question?

I'm going to mark this topic resolved.

This archived topic is closed to new replies.