[Resolved] CSS for just one site (pade-id)

Home Forums Support [Resolved] CSS for just one site (pade-id)

Home Forums Support CSS for just one site (pade-id)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1229788
    Dominik

    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

    #1229991
    David
    Staff
    Customer Support

    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.

    #1230753
    Dominik

    Great – Thanks!

    #1230938
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.