Support

Home Forums Event Espresso Premium Contat form 7 CSS modifies Event Espresso

Contat form 7 CSS modifies Event Espresso

Posted: January 16, 2013 at 4:05 am

Viewing 1 reply thread


Samantha

January 16, 2013 at 4:05 am

I just downloaded the Contact Form 7 plugin and now it’s conflicting with the CSS in Event Espresso

http://www.paintlounge.ca/workshops/markham/

The ui classes uses the CSS in http://ajax.googleapis.com/ajax/…

How do I fix this?


Josh

  • Support Staff

January 17, 2013 at 8:37 am

Hi Samantha,

What I would do in this case is use a conditional tag so that the contact form 7 styles load only on the page that has a contact form.

I believe that the contact form 7 uses wp_enqueue_style() function to load its styles onto the page, so you can use the wp_deregister_style() function to remove it from all other pages. Here’s a link to a well written tutorial that explains how to do this in more detail:

http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles

Viewing 1 reply thread

The support post ‘Contat form 7 CSS modifies Event Espresso’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso