Hide certain div/ class only at front page

If the WordPress theme is doing it’s job correctly, then it’s using the body_class() function to output the classes on the <body> tag. If that’s the case, then on the home page, it will add the .home class, and we can target that class as follows:

.home #page-element { display: none; }

If the theme isn’t using the body_class() function on the <body> tag, then this won’t work.