Thread Starter
Dennis
(@1404iran)
this is the code snippet that I added to header:
<script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script>
<script>
jQuery.noConflict();
jQuery( document ).ready( function( $ ) {
// Fixed Layout
var $grid = jQuery('.gv-diy-container').isotope({
// options…
itemSelector: '.gv-diy-view',
masonry: {
columnWidth: 100
}
});
// layout Isotope after each image loads
$grid.imagesLoaded().progress( function() {
$grid.isotope('layout');
});
});
</script>
-
This reply was modified 3 years, 4 months ago by
Dennis.
Hi @1404iran,
Did you enable any other plugins after adding that code? Maybe there’s something in the admin throwing an error and preventing you from editing that code.
Do you have any errors in the browser console?
Thread Starter
Dennis
(@1404iran)
No. this is my last plugin added. I’m using it with BuddyBoss and I’m using firefox (last version). I have not any problem with it.
And a wierd thing: I have this problem only in “Header” box. I can write and edit on “Body” box normally.
-
This reply was modified 3 years, 4 months ago by
Dennis.
Thank you for the details, I tried using the code you sent in the Header & Footer section and I can’t replicate the issue. Can you please check the browser console for any JavaScript errors?
If you want to share access to your site privately please reach out using the form at https://wpcode.com/contact and we’ll be happy to take a look and try to find a solution for this issue.
Thread Starter
Dennis
(@1404iran)
Thank you.
The language of my site is not english and I don’t think you can work with it’s admin. 🙁
I will try to inspect for Javascript error myself.
Hi @1404iran,
That would not be an issue as you can set the admin language for individual users. Please let us know if we can provide more info in relation to the JS errors.