I'm positive that if you installed Gravity Forms on a clean WordPress installation, running the default theme, you would see that we don't by default add this in. This is due to Themes adding code in how they deal with shortcodes. This is why we have to tell people sometimes to add [raw] tags around our shortcode so that they don't get processed by the hijacked system.
The code above, the CSS is just a hack to hide the extra spacing being added by the paragraph tags and line break tags, but not something created by Gravity Forms.
Which is why Kevin, one of the developers said:
it's going to be better moving forward if you find out what the actual cause of the extra markup is in your theme and correct that.
I hope you get this resolved, and please tell your theme developer what I've said in hopes that it leads them to a solution. Believe me, if we could fix this, we would...
Posted 11 years ago on Tuesday May 28, 2013 |
Permalink