scottjehl / Respond

A fast & lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more)
MIT License
11.33k stars 3.36k forks source link

Respond.js and Gravity Form CSS output conflict. #214

Open a3rev opened 11 years ago

a3rev commented 11 years ago

Hi Scott - we are using your script on our WordPress Parent Theme framework and works great except for a big conflict with the Gravity Forms plugin. http://www.gravityforms.com/ I have posted this to their developer license holders support

Hi Guys

We are currently adding respond.js to our Parent Theme Framework https://github.com/scottjehl/Respond

It works fine except for any page with a Gravity form on it - your plugins CSS breaks respond.js

If we disable OutPut CSS on setting graviform then it works fine. We have narrowed the bug down to this code but just cannot figure out what the bug is.

wp_enqueue_style("gforms_reset_css", GFCommon::get_base_url() . "/css/formreset.css", null, GFCommon::$version); wp_enqueue_style("gforms_datepicker_css", GFCommon::get_base_url() . "/css/datepicker.css", null, GFCommon::$version); wp_enqueue_style("gforms_formsmain_css", GFCommon::get_base_url() . "/css/formsmain.css", null, GFCommon::$version); wp_enqueue_style("gforms_ready_class_css", GFCommon::get_base_url() . "/css/readyclass.css", null, GFCommon::$version); wp_enqueue_style("gforms_browsers_css", GFCommon::get_base_url() . "/css/browsers.css", null, GFCommon::$version);

Happy to give you wp-admin and ftp access if you'd like to take a look at it - will also cross post this to the respond.js github issues and see if get the dev Scott interested.

Thank you.

Scott am happy to extend the wp-admin access and ftp access to that site if you are insterested in working with us to fix the bug - Hoping the Gravity forms people will be keen to sort it as well.

Thank you Steve Truman http://a3rev.com

zachleat commented 10 years ago

Can you attach a link to the Gravity Forms CSS file that’s causing the issue?