Title: Selector not recognized
Last modified: August 30, 2016

---

# Selector not recognized

 *  Resolved [mark7694](https://wordpress.org/support/users/mark7694/)
 * (@mark7694)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/selector-not-recognized/)
 * I can’t get the plugin to work using a custom selector (equalize).
 * It will only work if I use a standard selector (i.e. wpb-column)
 * However, if I use . wpb-column it will affect other columns on other pages that
   I don’t want.
 * I can send credentials for you to log in and take a look.
 * Many thanks
    Mark
 * [https://wordpress.org/plugins/equal-height-columns/](https://wordpress.org/plugins/equal-height-columns/)

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

 *  Plugin Author [Braad](https://wordpress.org/support/users/braad/)
 * (@braad)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/selector-not-recognized/#post-6644833)
 * Hello [@mark7694](https://wordpress.org/support/users/mark7694/),
 * This plugin takes a selector that matches multiple elements, finds the tallest
   among them, and then sets the height of all the matching elements to the height
   of the tallest. The selector you specify must match multiple elements in order
   for there to be a proper collection to equalize the heights across.
 * I can tell by the class name .wpb-column that you might be using Visual Composer?
   If so, the markup structure used by Visual Composer rows/columns is very nested
   and it can be difficult to put the right class on the right element.
 * A quick trick is (in Chrome) to right click, inspect element (opens the Chrome
   devtools), click to the console tab, and type:
 * `jQuery( '.your-custom-selector' )`
 * Replace `.your-custom-selector` with whatever selector you want to use. This 
   little bit of code will return all elements that match the selector, allowing
   you to confirm which elements are matching.
 * You should only see elements match that you want to all have equal heights. If
   more elements than the ones you want are matching, you need to use a more specific
   selector. You can scope your selector by, for example, adding a class to a Visual
   Composer row, then adding a class to the Visual Composer columns inside that 
   row, resulting in a selector like `.row-class .column-class`. You’ll know you’ve
   got the right selector if when you type `jQuery( '.your-custom-selector' )` into
   the console, you see the right elements matching.
 * If the page you’re working on is live somewhere and you can share the URL, I 
   can take a look and recommend the right selector to use. This plugin itself is
   very simple and any CSS/jQuery selector will work, so it all comes down to using
   the right selector to match only the elements you want the plugin to affect.
 *  [sozotech](https://wordpress.org/support/users/sozotech/)
 * (@sozotech)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/selector-not-recognized/#post-6645065)
 * I am using visual composer and it was difficult to find the right selector but
   once I did your plugin worked great.
 * Thank you so much for this plugin and the jquery/console tip!
 * Best regards,
    Eric
 *  Plugin Author [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/selector-not-recognized/#post-6645069)
 * Marking this one as resolved – glad to hear it all worked out!

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

The topic ‘Selector not recognized’ is closed to new replies.

 * ![](https://ps.w.org/equal-height-columns/assets/icon-128x128.png?rev=1114939)
 * [Equal Height Columns](https://wordpress.org/plugins/equal-height-columns/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/equal-height-columns/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/equal-height-columns/)
 * [Active Topics](https://wordpress.org/support/plugin/equal-height-columns/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/equal-height-columns/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/equal-height-columns/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/selector-not-recognized/#post-6645069)
 * Status: resolved