Open the portfolio grid with a data-filter (example: Icons) already selected - example page portfolio.html

0 replies·opened 2h ago
W
web_wolf2h ago

hi there,

First of all: thank you for Canvas. It's the best!

Now my question:
I am using the portfolio grid with several categories, but I want to open the page with a data-filter (.pf-icons) already enabled - instead of all items.

<ul class="grid-filter" data-container="#portfolio">
    <li><a href="#" data-filter="*">Show All</a></li>
    <li class="activeFilter"><a href="#" data-filter=".pf-icons">Icons</a></li>
    <li><a href="#" data-filter=".pf-illustrations">Illustrations</a></li>
    <li><a href="#" data-filter=".pf-uielements">UI Elements</a></li>
    <li><a href="#" data-filter=".pf-media">Media</a></li>
    <li><a href="#" data-filter=".pf-graphics">Graphics</a></li>
</ul>

What do I have to do to open the page with the grid respecting this filter: showing only the items corresponding to this data-filter.
Is is now still showing all items.

Hope to hear soon.

Best regards,

Wiebe

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard
Open the portfolio grid with a data-filter (example: Icons) already selected - example page portfolio.html · Canvas Template Support