Portfolio Grid

With this element you can add portfolio grids to your page. You can learn more about TheGem portfolio in this chapter .

Check this demo pages showing different portfolio grid style presets available in TheGem

https://codex-themes.com/thegem/blocks/justified-portfolio-grids/

https://codex-themes.com/thegem/blocks/masonry-portfolio-grids/

https://codex-themes.com/thegem/blocks/metro-portfolio-grids/

https://codex-themes.com/thegem/blocks/portfolio-creative-grids/

https://codex-themes.com/thegem/blocks/packery-highlighted-portfolio-grids/

Note: all this styles can be easily customized to meet your individual design needs. No coding needed.

You can find “Portfolio Grid” element in editing panel of Elementor in “TheGem Portfolios” group

Content Tab

Layout

Grid ID

Specify the unique ID for the grid. You can keep this field empty - in this case the Grid ID will be automatically generated and assigned after saving. Grid ID is used for example for grid filtering via the Grid Filter element.

Skin

Select between two predesigned style skins: classic and alternative

Layout

Specify grid layout of portfolio grid. You can choose between justified, masonry, metro style and creative grid layouts

Columns

select number of columns to display in portfolio grid: for desktop, tablet and mobile. In case of selecting 100% width your portfolio grid will be automatically stretched to the 100% width of the page and you will get an additional option “100% Width Columns” to specify the number of columns for 100% width grid for screen resolutions greater than 1920px. Please note: 100% width doesn’t appear as 100% width in Elementor edit mode as the element is always limited by section/column’s width settings. However on the front end the gallery grid will take the full 100% width.

Image Size

You can choose to display thumbnails, generated by theme for portfolio grids, or original featured images, uploaded in portfolio items (full size)

Image Ratio

With this setting you can specify the custom image aspect ratio to display in portfolio grid. Leave blank to show the original image ratio.

Disable Grid Preloader

By default Portfolio Grid uses isotope script for showing grids. However, you can switch to use pure CSS grid for better performance by enabling the setting “Disable Grid Preloader”. Note: this setting works only for justified grids, it disables the grid preloader and deactivates the displaying of highlighted (double size) portfolio items.

Hide Filter & Sorting

This setting helps you to deactivate all portfolio filters and sorting control with one click.

Portfolios

In this section you can choose portfolio categories to be displayed in grid.

Show

Select to show selected portfolio items or projects, related to the current portfolio page/project. If selecting “Related”, next you need to select the “Related by” taxonomy (in case you have created your own custom taxonomy for portfolio items/projects, it will automatically appear in “Related by” control.

Source

You can show portfolio items from selected portfolio categories and/or manually select portfolio items. To manually select portfolio items simply start typing the names of the respective portfolio items in “Select Portfolio Items” control.

Order By, Sort Order

Specify the sort order of the items in grid.

Offset

Here you can displace or pass over the first items in grid by specifying the number of such items to pass over.

Exclude

Using exclude control you can exclude portfolio items from being displayed in portfolio grid. You can manually specify the items to exclude OR you can exclude the current portfolio page (where you are inserting the portfolio grid) OR you can exclude projects by taxonomy term – in this case simply start typing for example the name of the portfolio category, which items should be excluded from being shown.

Caption

Caption contains title, description, date and categories of portfolio item. It can also include read more button and project details fields.

Caption Position

In TheGem portfolio grid caption can be shown below image, on image or on image hover. Here you can specify the position of caption.

Hover Effect

Select between multiple different hover effects. You can then customize the colors in the “Style” tab.

Hover Icons

With this setting you can hide all icons, which appear on image hover, in one click.

Title & Description

Options to show/hide project titles and descriptions in grid.

Meta

Options to show/hide different project meta elements in grid. Using Additional Meta control you can specify to show taxonomy or custom fields on or below the image. “Click behavior” helps to determine, what should happen once the page visitor clicks on this additional meta in grid’s portfolio item.

Project Details

Options to show/hide project details in grid.

Check this example of using project details in grid:

You can learn more about project details in this chapter

Following settings are available:

Details Layout: Select between vertical or horizontal (inline) layout for displaying project details

Title:  Specify the title/label of the project detail

Type You can select between project details fields, TheGem Custom Fields (see description on chapter “Custom Fields”), ACF/Toolset custom field groups and taxonomies.

Select Field/Taxonomy: Choose the project detail, custom field or taxonomy to be displayed in the item’s caption

Field Type: Select between “text” and “number” field type. The “number” field type helps to auto-format the number values when displaying in grid using the current WP Locale (see description on chapter “Custom Fields” ).

Prefix/Suffix:  Optionally add prefix/suffix to the “number” value

Icon: Optionally select an icon for the selected project detail/custom field/taxonomy.


Button

Here you can optionally enable the “Read More” button with the respective settings.

Disable Link to Portfolio Page

If you don’t want that clicking on the projects /portfolio items load the respective portfolio page, you can use this setting to disable link to portfolio page

Filters & Sorting

Filters

TheGem comes with two types of portfolio filters: default filter and extended filter.

The default AJAX filter allows you to filter the items using the terms of the selected taxonomy (by default: filter by portfolio categories). The default filter comes in three pre-designed filter styles, which can be selected in “Filter & Sorting Style” control. Using the “Query Type” field you can activate the multiple choice filtering by selecting the “AND” option.

Check this example of using default filter in grid:

https://codex-themes.com/thegem/blocks/portfolio-filters-sorting/

Additionally to the default filter, you can take an advantage of the extended filter, which can be selected in “Filter Type” field. Extended filter allows you to add different multiple filter attributes and doesn’t limit it only to one selection as in case of the default filter.

Check this example of using extended filter in grid:

https://codex-themes.com/thegem/blocks/custom-fields-extended-ajax-filter/

Extended filter has three styles you can choose from: horizontal filter, sidebar filter and hidden sidebar filter.

In the “Attributes” setting you will find a repeater control for adding multiple different filter attributes. Following settings are available:

Title: Specify the filter’s title

Filter By:  Choose between taxonomies, project details, TheGem Custom Fields (see description on chapter “Custom Fields”) and ACF/Toolset custom field groups

Select Field/Taxonomy:  Choose the project detail, custom field or taxonomy for filtering

Field Type:  Select between “text” and “number” field type. The “number” field type helps you to display slider control (like price range slider) in filter:

Search

Here you can optionally activate the AJAX search in portfolio grid. You can display the search in grid as a search icon or as a search input. You can activate the live search for displaying the search results instantly while typing the search term. And you can select the data source for searching: search by content or search by meta fields (including project details and custom fields).

Pagination

This section is for selection of pagination type of portfolio grid.

Items per page

select, how many portfolio items should be visible in grid on one page

Pagination

enable/disable pagination for portfolio grid

Pagintaion Type

select type of pagination.

Numbers: classic numbered pagination

Load More Button: additional items will be loaded by clicking on load more button

Infinite Scroll: additional items will be automatically loaded while scrolling downIn case “Load More Button” type is selected, you can further optionally activate the “Show all on load more” setting to load all portfolio items at once after clicking on “Load more” button.

Next page preloading

If enabled, items for the next page will be preloaded on the current page to speed up the paginating.

Reduce HTML Size

Using this option it is possible to reduce the HTML size of the web page by specifying the number of portfolio items to load on initial page load. The rest will be loaded on user scroll.

Example: Let’s say you wish to show 100 items at once on one page. The initial HTML size of the web page will cover all this 100 grid items thus resulting in the large HTML size of the document. However, by activating the “Reduce HTML size” option you can specify, that on the initial page load only 10 grid items should be included – thus significantly reducing the HTML size which increases the performance and page speed. All the rest 90 items will be loaded later, as the user starts scrolling on this page.

Social Sharing

Here you can enable social sharing button to be shown in portfolio item in grid as well as select social networks where the item can be shared.

Animations

Here you can enable lazy loading animation of portfolio items in portfolio grid and select animation effect in “Animation Effect” select box.

Additional Options

This section helps you to make additional adjustments:

Ignore Highlighted Items

in TheGem you can specify some projects to be emphasized in portfolio grid – this projects will be shown in double size compared to the other projects. You can make it in page options of the respective project/portfolio page with this setting

This is a cool way of attracting visitors attention to some project highlights and to make creative grids.By activating “Ignore Highlighted Items” control this project emphasizing will be ignored and all highlighted projects will be displayed as normal projects.

AJAX Preloader Type

You can select between two types of AJAX preloader in grid.

Style Tab

Grid Images Style

In this section you can control gaps between portfolio items in grid and customize items images.

The “Better Thumbnails Quality” control helps to increase the quality of the generated portfolio item thumbnails – this could be useful in case of using Portfolio Grid in fullwidth sections.

You can also customize the icons on hover. If you wish to use other icons and style each icon separately, use “Want to customize?” control. Once activated, additional section will appear in the Style tab – “Hover Icons (Custom)”

In Grid Images Style section you can also enable shadow. By default, shadow is applied only on image container. By activating “Apply shadow on caption container” setting you can enable a common shadow for image container and caption container.

Caption Style

Here you can customize the style and typography of caption elements: title, description, date etc.

Caption Container Style

Settings to customize the appearance of caption container. Note: this section appears only in case if “Caption Position” is set to “Below Image” in Content tab – Caption section.

Preset: here you can select between 4 different color presets for caption container, which can be further customized with additional settings.

Filter Style

Settings to control the appearance of filters in portfolio grid. This section appears only in case filter has been activated in Content tab – Filters & Sorting section.

To customize the appearance of filter in responsive mode, use settings in “Filter in responsive mode” group

Sorting Style

Settings to customize the appearance of sorting buttons in portfolio grid.

Pagination Style

In this section you can customize the look of number pagination. This section appears only in case if “Numbers” pagination type has been selected in Content tab – Pagination section.

“Load More” Button Style

Here you can customize the look of load more button. This section appears only in case if “Load More Button” pagination type has been selected in Content tab – Pagination section. Here you have presets for button style (flat, outline) and button size and many other additional customization settings. In case you have enabled separator in Content tab – Pagination section, here you can also choose between 4 different style presets and further customize its size, weight and color

Project Details

In this section you can customize the appearance of project details in portfolio grid.