PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. CSS
  4. Menu-item-ancestor
Menu-item-ancestor icon

Menu-item-ancestor

Adds a menu-item-ancestor class to every menu item that has descendants.

By valentinas·CSS·Free
00
·10 active installs·Updated 15 years ago
DownloadVisit HomepageCompare

As of April 2026, Menu-item-ancestor is a WordPress css plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.5K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2010. Last updated 15 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….

0/5Rating
10active installs
2.5K+total downloads
16 yearssince 2010

Overview

This plugin is for developers and designers who want to have a separate class for menu items with children.

This plugin adds a menu-item-ancestor class to every menu item that has descendants.

Alows to use CSS to style only those menu items, that has descendants. For example you can add different background or different hover behavior.

Read full description on WordPress.org

Ratings & Reviews

00 reviews
5 ★
0
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress3.0+ requiredTested up to 3.0.5
PHPfalse+ required

Top Alternatives to Menu-item-ancestor

WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager icon
WPCode – Insert Headers and Footers +…
4.93.0M+ installsUpdated 2 weeks ago
ViewCompare
Code Snippets icon
Code Snippets
4.71.0M+ installsUpdated 1 month ago
ViewCompare
Simple Custom CSS Plugin icon
Simple Custom CSS Plugin
4.7100K+ installsUpdated 1 year ago
ViewCompare
Widget CSS Classes icon
Widget CSS Classes
4.990K+ installsUpdated 1 year ago
ViewCompare
Simple CSS icon
Simple CSS
4.980K+ installsUpdated 6 months ago
ViewCompare
View all css plugins →

Frequently Asked Questions

Changelog

1.1

  • Fixed the menu logic. The first version wrongly asumed that menu item stored it’s parent in posts table, when it’s actually is stored in postmeta table.
View full changelog on WordPress.org

Contributors

valentinasvalentinas
Plugin Info
Version
1.1
Last Updated
Aug 23, 2010
WP Requires
3.0+
Tested Up To
3.0.5
PHP Requires
false+
Active Installs
10
Downloads
2.5K+
Added
Aug 1, 2010
Business
Free

Tags

cssmenuancestor

Developer

V
valentinas
2 plugins0.0M+ total installs
View all plugins →

Quick Compare

Menu-item-ancestor vs WPCode – Insert Headers and Footers +…→Menu-item-ancestor vs Code Snippets→Menu-item-ancestor vs Simple Custom CSS Plugin→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.