Accordion Content Jumps when Opening and Closing Accordion
-
I have everything working with your plugin. Thank you!
Just have an annoyance and am wondering if you have any ideas how to fix.
It appears that WP is adding empty <p> tags around any block level content. I have a number of accordions on a page and find that the ones that just have an image linking to another page are great. But the accordions that have a table for content or paragraph text have two empty paragraphs inserted. One before the content and one after (i.e. <p></p>).
Trying to fix this, I disabled wpautop, which didn’t work. Also, tried add a test css class to not display <p></p>, which did work. (But, then paragraphs with content that should display don’t…)
- The topic ‘Accordion Content Jumps when Opening and Closing Accordion’ is closed to new replies.