Infinite-scroll closing tags
-
I’ve used Infinite-scroll on several projects and have to say it’s usually pretty well behaved. But I’ve just installed on latest build of a new site and it’s doing something odd.
Home page loop articles should render in this html, (and do above the fold);
<article> <div id="inner"> <a> <div> <IMG> </div <header> <div> <h2 class="entry-title">Title</h2> <div>Meta</div> </div> <div>CTA</div> </header> </a> </div> </article>but everything brought in through infinite-scroll renders like;
<article> <div id="inner"> <a> <div></div> <IMG> </a> </div> <a> <header> <div> <h2 class="entry-title">Title</h2> <div>Meta</div> </div> <div>CTA</div> </header> </a> </article>Note the wrapping div
#inneris closing early, as is the div inside that … Any idea what could be happening?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Infinite-scroll closing tags’ is closed to new replies.