Site logo

Archived topic

CSS for just one site (pade-id)

3 replies · Started by Dominik on April 7, 2020

Viewing posts 1–4 of 4

Hi there,

i want some css only for the linked page and i can`t find a page id to refer to.

.page-id-XYZ > .product.type-product.status-publish{margin-top:20px !important;}

Is there an option to add an ID (e.g. page-id) to the mentioned url?
Or is there a better solution?

Thanks and best regards
Manuel

Hi there,
.post-type-archive-product is the class added to Product Archives. It will also apply to any product category archives if they exist.

Great – Thanks!

You're welcome

This archived topic is closed to new replies.