Title: Conditional Dropdowns
Last modified: September 15, 2016

---

# Conditional Dropdowns

 *  [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/)
 * Hi – I was very excited to see the conditional dropdowns beta feature! I tried
   it out, but the results weren’t good. See: [http://wonderwheeldesign.com/dropdowns.png](http://wonderwheeldesign.com/dropdowns.png).
   
   The top is without the feature, and the bottom is with the feature enabled. Any
   idea why this might be happening? Thanks! Deb Sher

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

 *  Plugin Author [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8198005)
 * Hi Debsher,
 * Hmm looks more like an issue with styling.
    Do you have cache of some sort? If
   so make sure you clear that out and also refresh your browser a few times to 
   get rid of browser cache.
 * Can you also check your console in browser if there’s some style not loading?
 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8198057)
 * Hi Jonathan –
 * Thanks for your reply.
    I don’t have a caching plugin installed yet. I tried 
   clearing the browser cache several times. The display bounces back to normal 
   for a second and then reverts to the jumble. It looks like the styles are loading.
 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8198137)
 * I just checked “Disable the select2 library” and that fixed it.
 *  Plugin Author [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8199494)
 * Ah so it’s select2 styling that’s messing things up..
 * I’d greatly appreciate if you could do some debugging in the inspector to see
   what styles are acting up with select2 active. Or if I could get access to test
   it myself (dont need admin, just the filter in the frontend (with select2 active).
 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8199563)
 * Select2 is active again and I took it out of maintenance mode. I’ll leave it 
   open for the rest of the day.
    Thanks, Deb
 *  Plugin Author [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8199910)
 * Can’t figure out why this happens to you but it seem to happen when the select2
   is destroyed and recreated by the conditional AJAX.
 * I haven’t seen this anywhere else. If you disable the conditional it works?
    
   I notice your themes editor-style thingy adds styling to the hidden select. That
   might have something to do with it. Does it work if you use one of the supplied
   styles?
 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8199945)
 * No other combination of choices helps. If I disable the conditional it works.
   
   I guess I’ll just disable select2 and keep the conditional. It’s a great feature!
 *  Plugin Author [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8201122)
 * I’d still want to see if we can’t get this working for you 🙂
 * I’ve made some tweaks to the js code. Could you try replacing the file in beautiful-
   taxonomy-filters/public/js/ with this:
    [https://dl.dropboxusercontent.com/u/10298919/beautiful-taxonomy-filters-public.min.js.zip](https://dl.dropboxusercontent.com/u/10298919/beautiful-taxonomy-filters-public.min.js.zip)
 * See if that changes anything.
 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8201962)
 * Everything is still the same after replacing the file.
 * Do you want me to open the site again so that you can see what’s happening?
 * Thanks,
    Deb
 *  Plugin Author [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8205490)
 * Hmm okay.. strange that it can’t be duplicated.
 * You don’t need to open it again. I wont find anything new 🙂
    The only way forward
   that I can see is if you could try changing your theme. If that does not help
   start deactivating plugins until it starts working (hopefully). That way we could
   determine wether the theme or a plugin is the cause.
 * I don’t think I can help you any more than that right now until we know more.

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

The topic ‘Conditional Dropdowns’ is closed to new replies.

 * ![](https://ps.w.org/beautiful-taxonomy-filters/assets/icon-256x256.png?rev=1654967)
 * [Beautiful taxonomy filters](https://wordpress.org/plugins/beautiful-taxonomy-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beautiful-taxonomy-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/reviews/)

## Tags

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

 * 10 replies
 * 2 participants
 * Last reply from: [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/conditional-dropdowns-2/#post-8205490)
 * Status: not resolved