CSS Selectors with custom HTML
-
Hi i have code like this.
<div id="div-aroundall"> <div id="div-inside"> <h3>Caption</h3> <p>Content</p> </div> </div> <div class="wp-pagenavi"> <span class="pages">1-2</span><span class="current">1</span><a href="https://domain.com/page/2/" class="page larger">2</a><a href="https://domain.com/page/2/" class="nextpostslink">?</a> </div>
tried moving wp page navi inside like this:
<div id="div-aroundall"> <div id="div-inside"> <h3>Caption</h3> <p>Content</p> </div> <div class="wp-pagenavi"> <span class="pages">1-2</span><span class="current">1</span><a href="https://domain.com/page/2/" class="page larger">2</a><a href="https://domain.com/page/2/" class="nextpostslink">?</a> </div> </div>
But no change, nothing happens. Pagnation working fine but not wit infinite scroll…
Selectors should be:
Content Selector: #div-aroundall
Item Selector: #div-inside
Navigation Selector: .wp-pagenavi
Next Selector: .nextpostslinkWhat am I doung wrong? Thanks
- The topic ‘CSS Selectors with custom HTML’ is closed to new replies.