title: How to use a CSS Rule except on Homepage
body: <p>I'm using this code</p>
  
  <pre><code>#main-header::after {
  content: "";
  background-image: url('xxxx');
  background-size:cover;
  opacity: 1.0;
  top: -45%;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  }
  </code></pre>
  
  <p>And I want it work in all pages except in the homepage because I have a fullwidth slider, how can I do it? I'm using this custom CSS on Wordpress. Thanks!!</p>