Title: CSS :before not working on max mega menu elements
Last modified: September 25, 2018

---

# CSS :before not working on max mega menu elements

 *  Resolved [alexamity](https://wordpress.org/support/users/alexamity/)
 * (@alexamity)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/css-before-not-working-on-max-mega-menu-elements/)
 * Hello,
 * Is there something that stops CSS pseudo elements being applied to the plugin’s
   menu items? The code I have works on all menu item elements which aren’t max 
   mega menu items, but when adding :before to max mega menu items it doesn’t even
   show in the element inspector, it does not exist.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/css-before-not-working-on-max-mega-menu-elements/#post-10721765)
 * Hi Alex,
 * They’re hidden by default, so make sure you specify “display: block” or “display:
   inline-block”, then they should show up in the inspector.
 * Regards,
    Tom
 *  Thread Starter [alexamity](https://wordpress.org/support/users/alexamity/)
 * (@alexamity)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/css-before-not-working-on-max-mega-menu-elements/#post-10724308)
 * Thought I added originally that but missed out the !important.
 * Thanks a lot, all working now
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/css-before-not-working-on-max-mega-menu-elements/#post-10724464)
 * You’re welcome! I’ll set this to resolved.
 * If you have a spare minute, would you mind leaving a quick review for the plugin
   at the bottom of [this](https://wordpress.org/support/plugin/megamenu/reviews/)
   page? It would be much appreciated!
 * Regards,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CSS :before not working on max mega menu elements’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/css-before-not-working-on-max-mega-menu-elements/#post-10724464)
 * Status: resolved