Apply css rule except for one page

I am a novice at css. I’ve added the following rule to my ‘custom css field’ on my wordpress website editor (Onetone theme):

html, body {margin: 0; height: 100%; overflow: hidden}

It works great…the scrollbar is gone and no scrolling is possible on my homepage. However, I need this css rule to be excluded from one page, that is, my shop-page that needs scrolling to be able to view all products in store.

So my question is: how do I exlcude my shop page from this overall css rule that I added in the custom css field?

My homepage has ID6, the shop page has ID61. I read about the ‘not’ command but do not understand well.

Thanks so much for any help on this.

Read more here: Apply css rule except for one page

Leave a Reply

Your email address will not be published. Required fields are marked *