Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    maybe you have set the “content selector” in wrong way. Try to add this selector: div.entries-masonry.

    Then, because you use masonry style, you need to do some compatibility. Try to add this js code in your custom script

    jQuery(document).on( 'yith_infs_adding_elem', function(){
      if ( jQuery.fn.masonry ) {
          var container = jQuery( 'div.entries-masonry' );
          container.masonry('reloadItems');
      }
    });

    Let me know, regards ??

    Thread Starter carospi7

    (@carospi7)

    Which js I would have to add the code? in the js plugin or theme? Thank you!

    Thread Starter carospi7

    (@carospi7)

    I add div.entries-masonry to content selector and js code to the “yith-infs.js” and “yith.infinitescroll.js” but does not work.

    Thanks for the help, greetings!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘add a div before article’ is closed to new replies.