Title: Custom css element&gt;element selector
Last modified: August 21, 2016

---

# Custom css element>element selector

 *  [guicab](https://wordpress.org/support/users/guicab/)
 * (@guicab)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/custom-css-elementelement-selector/)
 * Hi, I’m using the Leaf theme. When I use the custom css field in the options,
   I can’t use the element>element selector.
    When I write this :
 *     ```
       .myClass>p{
       //some css rules
       }
       ```
   
 * The computed css (from the page downloaded from the server) result in :
 *     ```
       .myClass& lt ;p{
       //some css rules
       }
       ```
   
 * The > (greater-than sign) is remplaced by the html code “& lt ;” and my custom
   css rules can’t be computed correctly. How can I prevent this to happen ?
 * Note : You would read “& lt ;” without the spaces.

The topic ‘Custom css element>element selector’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/leaf/1.1.2/screenshot.png)
 * Leaf
 * [Support Threads](https://wordpress.org/support/theme/leaf/)
 * [Active Topics](https://wordpress.org/support/theme/leaf/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/leaf/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/leaf/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 0 replies
 * 1 participant
 * Last reply from: [guicab](https://wordpress.org/support/users/guicab/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/custom-css-elementelement-selector/)
 * Status: not resolved