For some odd reason the isotope filters are working for only one content type but then not the other? (separate views)
Here is the address of the page: http://www.codeofliving.com/images

CommentFileSizeAuthor
#3 screenshot-1.png91.22 KBsiva.thanush
#3 screenshot-2.png123.29 KBsiva.thanush

Comments

kreynen’s picture

Looking at the source code...

<div class="isotope-element isotope-element-0  isotope-item" data-category="" style="position: absolute; left: 0px; top: 0px; -webkit-transform: translate(0px, 0px) scale(1); opacity: 1; ">
<div class="views-field views-field-title"> <span class="field-content"><a href="/images/life-hard" data-bitly-type="bitly_hover_card">Life is Hard</a></span> </div>
<div class="views-field views-field-field-picture"> <div class="field-content"><a href="/images/life-hard" data-bitly-type="bitly_hover_card"><img typeof="foaf:Image" src="http://www.codeofliving.com/sites/default/files/styles/mosaic/public/CodeofLiving-Images/life%20is%20hard.jpg" width="150" height="105" alt="Life is Hard" title="Life is Hard"></a></div> </div> </div>

The data-category="" is the issue. Because the data category is empty, all the items disappear when you click a filter. You need a taxonomy field in the grid view and it needs to be configured to use the div element with the isotope-filter class.

kreynen’s picture

Status: Active » Closed (works as designed)
siva.thanush’s picture

StatusFileSize
new123.29 KB
new91.22 KB

I tried the same but filter not working.
Its showing all the content in the begining and when if i click on any filter everything disappears.
As you said i tried using

for the term in the isotope grid along with a class name as "isotope-filter".
But still the data-category="" is like that.
I have attached the screenshot of what i have done.
Please help me to achive this.

-
Thank you,

siva.thanush’s picture

It works.
Please uncheck the "Add default classes."

Thank you

siva.thanush’s picture

Issue summary: View changes

spelling