Troubleshooting docs are ambiguous or incorrect
6233114 opened this issue · 0 comments
6233114 commented
The troubleshooting documentation explaining the issues with the google ads is ambiguous or incorrect.
The HTML code uses a CSS class of my-sticky-element
:
< div class="sticky-parent"> < div class="sticky-spacer"> < div class="my-sticky-element">Hello world</div> </ div> .. the rest of the page ... </ div>
However, the JQ code refers to a CSS class of .my-sticky-item
:
$(".my-sticky-item").stick_in_parent({ parent: ".sticky-parent", // note: we must now manually provide the parent spacer: ".sticky-spacer", });
Could you confirm which is correct? Thanks.