-
-
Think I’ve run into a bug as far as I can tell. News posts aren’t sorting correctly by date. The order seems to get out of wack half way through the infinite scroll.
-
Hello,
I have tried to add this fix on codeless-main.js file without success, please try to add it by yourself.
Find the lines below and replace (codeless-main.js):
if( $element.hasClass('masonry-entries') ){ isotope_options['masonry'] = { columnWidth: '.cl-msn-size-small' }; }
replace with:
if( $element.hasClass('masonry-entries') ){ isotope_options['masonry'] = { columnWidth: '.cl-msn-size-small', horizontalOrder: true }; }
Let us know.
Regards!
-
Looks like the code is inputted. This is set up as a grid though, would this still apply?
-
-
Hello,
You are right. It seems there’s a glitch with grid style. We will fix this in the next theme update. For now if this order gives you problem, please use another style.
Best regards!
-
Is there any code tweaks you could recommend until it’s patched?
-
Hello,
The fast fix is the code that i gave you, but for a strange reason the js file did not get updated. I think that you have any cache or something like that don’t reflect the js change that i have made on the front-end.
Let us know.
Regards!
-
Made some changes in order to eliminate caching and other things as culprits.
When I made that change (as instructed above) it just stopped displaying all of the images and articles.
-
Hello,
I have made this change on codeless-main.js file:
var isotope_options = { itemSelector: '.cl-isotope-item', transformsEnabled: true, filter: '*', percentPosition: true, transitionDuration: '0.0s', layoutMode: $layoutMode };
replaced with:
var isotope_options = { itemSelector: '.cl-isotope-item', transformsEnabled: true, filter: '*', percentPosition: true, transitionDuration: '0.0s', layoutMode: 'fitRows', };
Now everything works ok.
Check out and let us know.
Regards!
-
-
You must be logged in to reply to this topic.