67 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
DesignLinks says

Hey,

Hope u people would be fine. I’m implementing isotope plugin in one of my themes. But for some reason plugin is NOT working as expected. I’ve spent literally hours on it but even the most basic example gives the same issue. Here is the code with basic demo: http://codepen.io/anon/pen/BsyLA

Its a 3 column layout, every dark box has a right margin of 35px except third entry of each row. I want masonry style applied, but want it to show all three columns. Currently its showing only two columns and layout seems broken. Just unable to fiqure what the issue infact.

Can u people help me out?

51 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+3 more
ab-themes says

If you use gutter don’t use margin on element.. :)
This way you have double gutter, one with Isotope and one via css.

469 posts
  • Helped several times protecting Envato Market against copyright violations
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+7 more
Jaynesh says

I changed column width to 1. Take a look now.

67 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
DesignLinks says

If you use gutter don’t use margin on element.. :)
This way you have double gutter, one with Isotope and one via css.

Thnx for reply. I tried it already, but if i remove CSS margin and keep gutterWidth there is no horizonal margin b.w entries, check this: http://codepen.io/anon/pen/dnujc

67 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
DesignLinks says

I changed column width to 1. Take a look now.

yeah it works, but quite strange, did’nt understand the logic behind it.

67 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
DesignLinks says

i think i’ve found the patch: https://gist.github.com/Huskie/2574891

it works with the exisiting code, this code is taken from official masonry website SOURCE CODE here: http://isotope.metafizzy.co/custom-layout-modes/masonry-gutters.html#insert

just wondering why they did’nt explicitly mentioned this patch code or have’nt added this patch in original script.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by