Home › Forums › Support › Is it possible to exclude CSS from my home page? This topic has 3 replies, 2 voices, and was last updated 3 years, 7 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts September 3, 2020 at 7:42 pm #1430116 Andy Hi there, Earlier, I got this custom CSS code from you guys: @media (max-width: 768px) { .separate-containers .site-main { margin-top: 0; } } I’d like to apply this CSS code to all pages except my homepage (which is the blog archive). Is this possible? Thank you September 3, 2020 at 8:04 pm #1430124 LeoStaff Customer Support Hi there, This should work: @media (max-width: 768px) { body:not(.home).separate-containers .site-main { margin-top: 0; } } Let me know ๐ September 3, 2020 at 11:16 pm #1430245 Andy Brilliant!!! Thanks Leo!!! September 4, 2020 at 7:58 am #1430904 LeoStaff Customer Support No problem ๐ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In