I'm a beginner when it comes to css. In my wordpress website editor (Onetone theme), I added the following rule to my 'custom css field':
html, body {margin: 0; height: 100%; overflow: hidden}
It's working well...the scrollbar is gone and scrolling is disabled on my homepage. However, I need this css rule to not apply to one specific page, which is my shop-page where scrolling is necessary to view all products.
My question is: how can I exclude my shop page from this global css rule that I added in the custom css field?
The ID for my homepage is 6, while the shop page has an ID of 61. I've heard about the :not()
command but I'm unsure how to use it effectively.
Thank you for any assistance with this issue.