Title: class on body
Last modified: August 20, 2016

---

# class on body

 *  Resolved [atlantictv](https://wordpress.org/support/users/atlantictv/)
 * (@atlantictv)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/class-on-body/)
 * HI WP users 🙂
 * i need to apply a “display:none;” style to a div in my header only when i’m on
   the home.php.
 * i try to fo it like :
 * in the css :
 *     ```
       body.single-author.pageTitre{
       	 	display:none;
       	 }
       ```
   
 * OR n the header :
 *     ```
       <script type="text/javascript">
           	$(document).ready(function(){
           		$("body.home.pageTitre").css("display","none");
   
           	});
           </script>
       ```
   
 * but i don’t have the result i need i don’t understand my error… if someone can
   help me it where appreciable 😉
 * thanks !

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/class-on-body/#post-3129385)
 * Try using Firefox with the Firebug add-on for this kind of CSS work.
    [http://getfirebug.com/](http://getfirebug.com/)

Viewing 1 replies (of 1 total)

The topic ‘class on body’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/class-on-body/#post-3129385)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
