Product Categories Grid

The widget allows to display a grid of Product Categories with thumbnails and product count (fig. 1):

Fig. 1. Products Categories Grid widget.

Fig. 1. Products Categories Grid widget.

Content

User can configure the Query (fig. 2.1) :

Fig. 2.1. Query Settings.

Fig. 2.1. Query Settings.

  • source – which categories should be shown:
    • show all;
    • manual selection (pick the categories you want to show);
    • by parent (show only parent categories);
    • current Subcategories (show subcategories of the currently displayed category – useful for creating a product category archive template).
  • hide empty;
  • order by;
  • order of the categories;
  • total number of posts, which should be displayed;
  • posts offset (how many posts should be omitted, start displaying from Nth post).

In the “Layout” tab (fig. 2.2), user can configure the layout of the grid:

Fig. 2.2. Layout Settings.

Fig. 2.2. Layout Settings.

    • widget title (show/hide);
    • columns on a wide desktop;
    • wide desktop breakpoint (resolution above which the screen is considered wide);
    • number of columns;
    • image size (select the source image size);
    • columns gap (between carousel items);
    • rows gaps (space between rows);
    • dividers (show/hide).

Under the “Content” tab (fig. 2.3), user can configure the appearance of the content:

Fig. 2.3. Content Settings

Fig. 2.3. Content Settings

  • apply link & hover (determines whether the effect and link should apply to the entire element or to separate elements within it);
  • image (hide/show);
  • title (hide/show);
  • title width (full form or cropped to one line to make all items equal);
  • maximum number of words (works only with full titles and allows cropping them to a specific number of words);
  • description (hide/show);
  • description width (decides whether the description should be shown in its full form or cropped to one line to make all items equal);
  • maximum number of words (works only with full descriptions and allows cropping them to a specific number of words);
  • products count (hide/show);
  • custom format (allows setting custom formats for product quantity – fig. 2.4)
Fig. 2.4. Custom Quantity Formats.

Fig. 2.4. Custom Quantity Formats.

  • button (hide/show);
  • button text, if the button is enabled.

In the “Pagination” section (fig. 2.5), user can set the appearance of the pagination, its type and other parameters:

Fig. 2.5. Pagination Settings.

Fig. 2.5. Pagination Settings.

  • pagination mode:
    • disabled;
    • standard;
    • JavaScript pages (shows pagination which does not reload the page, while changing the pages);
    • “Load more” button (shows a button, which loads next portion of categories after click);
    • infinite scroll (loads next portion of categories, when user reaches the end of the grid – will load categories until all are shown).
  • posts offset (determines, from which post should the grid be shown, for example, you can set the grid to skip first 10 categories);
  • show all pages in paginator (sets if the pagination area should show all pages, or be shorter and show only few first, the current one, and few last pages).

Style

The “Box” section (fig. 3.1) allows user to adjust the appearance of the area behind a post (“box”):

Fig. 3.1. Box Styling.

Fig. 3.1. Box Styling.

  • adaptive height (yes/no). It determines if the height of a box should be fixed to the highest item or adjust dynamically based on the visible elements;
  • fixed height of the box;
  • content position (top/middle/bottom position of the entire content within the box);
  • border style and radius;
  • padding around the box (adjustable per device);
  • background, border and box shadow colors for normal and hover states.

In the “Featured Image” section (fig. 3.2), user can set the appearance of the featured image:

Fig. 3.2. Featured Image Settings.

Fig. 3.2. Featured Image Settings.

  • position (left/top/right) to set the position of the image relative to the title and description;
  • alignment of the image within the column;
  • image spacing (space between the featured image and the content);
  • maximum width of the image;
  • image ratio. Leave empty to use the original proportions;
  • hover icon (select from the library, upload your own, or disable it);
  • border type and radius;
  • overlay (plain/gradient), border, box shadow colors for hover and normal states;
  • CSS filters and image opacity for hover and normal states.

In the “Content Area” section (fig. 3.3), user can configure the content within its column:

Fig. 3.3. Content Area Styling

Fig. 3.3. Content Area Styling

  • adjust the alignment of the content within its column;
  • set the padding around the content within its column.

In the “Title” section (fig. 3.4), user can set the appearance of the category title:

Fig. 3.4. Title Styling.

Fig. 3.4. Title Styling.

  • typography;
  • set the color for normal and hover states.
Fig. 3.5. Products Count Styling.

Fig. 3.5. Products Count Styling.

In the “Products Count” section (fig. 3.5), user can adjust the appearance of the product counter:

  • typography;
  • font color (normal/hover);
  • spacing above the product count.
Fig. 3.6. Description Styling.

Fig. 3.6. Description Styling.

In the “Description” section (fig. 3.6), user can adjust the appearance of the category description:

  • typography;
  • font color (normal/hover);
  • spacing above the product count.
Fig. 3.7. Button Styling.

Fig. 3.7. Button Styling.

In the “Button” section (fig. 3.7), user can style the appearance of the button:

  • size (extra small/small/medium/large/extra large);
  • icon (select from the library, upload your own, or disable it);
  • icon size (adjustable per device);
  • space between the button’s icon and text;
  • typography of the button;
  • min width min height;
  • padding around the button’s text;
  • border type and radius;
  • text, icon, background, box shadow colors for normal and hover states;
  • spacing above the button.

In the “Pagination” section (fig. 3.8), user can adjust the appearance of the pagination:

Fig. 3.8. Pagination Styling.

Fig. 3.8. Pagination Styling.

  • align of the pagination box;
  • pointer type (how current/hovered page number is highlighted):
    • none;
    • underline;
    • overline;
    • double line;
    • framed;
    • background;
    • text(animation).
  • typography;
  • pointer height (the height of the highlight);
  • text color for normal, hover, and active states;
  • padding around each number in the pagination;
  • margin around each number in the pagination;
  • spacing above the pagination.

Advanced

Advanced section contains standard Elementor settings. More info is available here.