Page content paddin top only for products pages (shop)

This topic has 4 replies, 2 voices, and was last updated 8 years, 9 months ago ago by Robert Hall

  • Avatar: jiaqing
    jiaqing
    Participant
    March 23, 2016 at 15:41

    Hi,

    I am happy with this code

    .page-content {
    padding-top: 0px;
    }

    but would like to be effective ONLY for products pages (shop), NOT single product pages.
    Is there a specific custom css with same effect for products pages?

    Thanks!
    Gilles.

    3 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 23, 2016 at 15:52

    Hello,

    Please try to use this code

    .archive .page-content {
    padding-top: 0px;
    }

    Regards,
    Robert Hall

    Avatar: jiaqing
    jiaqing
    Participant
    March 23, 2016 at 16:53

    it works, thank you very much!
    Gilles.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 23, 2016 at 16:59

    You’re welcome!

    Regards,
    Robert Hall

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Page content paddin top only for products pages (shop)’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.