If I insert the form in the post manually from the post editor screen, the form looks fine.
If I use the functions file to automatically call the form on singe post pages for certain categories, the same form displays, but styling is a mess. Now, if I also then manually add the same form in the post editor screen....both forms look fine. Why is it that the form styling is changing depending on what method the form is being inserted into the post?
Here is my theme function file:
/** Add a contact form at the end of single posts based on category*/
add_action('genesis_after_post_content', 'insert_form');
function insert_form() {
if (is_single() && in_category(array(3,4,5,6,7,10))) {
gravity_form(1, false, flase, false, '', true);
}
}
and an example page of the issue:
http://www.mcqwebdesign.com/demos/tgpackaging/200/cozzoli-air-cleaner-item-1864/