(Free) Gallery Section Grid Category

Description

  • adding category filter to top of Gallery Section Grid
  • note: code will use Caption as Category

Gallery section grid category 1

#1. Install Code

#1.1. Business Plan/higher

Hover page where you use Gallery > Click Gear icon

Gallery section grid category 2

Click Advanced > Paste this code

<!-- @tuanphan - Gallery Grid Category -->
<link rel="stylesheet" href="https://code.beaverhero.com/file?filename=1762480436019gallerysfilter.css"/>
<script src="https://code.beaverhero.com/file?filename=1762480468344gallerysfilter.js"></script>

(free) gallery section grid category 1

#1.2. Personal/Basic Plan

Note: You can also use this code for Business Plan/higher.

Edit Page where you use Gallery Section Grid > Add a Markdown Block

574 (free) 4

Paste this code

<link rel="stylesheet" href="https://code.beaverhero.com/file?filename=1762480436019gallerysfilter.css"/>
<script src="https://code.beaverhero.com/file?filename=1762480468344gallerysfilter.js"></script>

(free) gallery section grid category 3

#2. Usage

Make sure you use Gallery Grid Simple Section

Gallery grid search 4

Make sure you enabled Captions

Gallery grid search 5

Make sure you added caption text to Images. Something like this

Gallery section grid category 4

or like this.

Gallery section grid category 5

Next, hover on top right of section > Click Edit Section

Gallery section grid category 6

Enter word: gallery-sfilter

gallery-sfilter

Gallery section grid category 7

#3. Customize

#3.1. To adjust category text size, you can use this code to Custom CSS

div.gallery-filter-bar {
    --filter-font-size: 20px;
}

(free) gallery section grid category 2

Buy me a coffee