Category Grid

The Category Grid widget dynamically displays images from your product categories in a grid layout, typically linking each image to its respective category page. You can add an overall title, and extensively style the images, captions, and overlay effects.

Content tab

Configure the category grid display, title, and image linking options.

Category Grid widget Content tab

Category Grid

Title

Enter an optional main title to display above the category grid.

Display

Adjust the predefined size display for the main title (Small, Medium, Large, etc.).

HTML Tag

Select the appropriate HTML tag (H1-H6, div, span, p) for the main title.

Grid

Images for the grid are typically populated dynamically using the 'Category Images' tag. Manually add items if not using dynamic content.

  • Image Size: Select the image size for category thumbnails, using either the full image or a predefined type from Design > Image Settings in the back office.
  • Category Root: Define the starting point of the category tree—current category, its parent, or a specific category by ID.
  • Caption: Enable or disable a selected title below the image.
  • Description: Show or hide the category's description beneath the caption.
Overflow Scrolling

Enable horizontal scrolling if the content exceeds the container width, optionally setting a breakpoint (Tablet/Mobile) for this behavior.

Column Width (Overflow Scrolling)

Set the width of individual columns when 'Overflow Scrolling' is enabled.

Scroll Snap

Enables horizontal scroll snapping to ensure each category card aligns neatly into view when scrolling the grid.

Overlay

Enable to show an overlay with content (caption/icon) on image hover.

Caption

Choose whether to show the caption, show it with a description, or hide it.

Style tab

Customize the appearance of the main title, grid images, overlay, and captions.

Category Grid widget Style tab - Title

Styles apply if a Title is entered in the Content tab.

Title

Alignment

Align the main title horizontally (Left, Center, Right, Justified).

Text Color

Set the color of the main title text.

Typography

Control the font settings for the main title.

Text Stroke

Apply an outline effect to the main title text.

Text Shadow

Apply a shadow effect to the main title text.

Spacing

Adjust the space below the main title, before the category grid.

Category Grid widget Style tab - Images

Image Style

Space Between

Adjust the gap between individual images in the grid.

Aspect Ratio

Set a fixed aspect ratio for the images in the grid (e.g., 1:1, 16:9).

Height

Set a specific height for the image containers if Aspect Ratio is 'Default'.

Object Fit

Control how images resize to fit their container when a height is set (Defaults to 'Contain' for category images).

Position

Align the image within its container when 'Object Fit' is 'Cover' or 'Contain' and a height is set.

Border Type & Width

Define the border type and width for the images.

Border Color (Normal & Hover)

Set the border color for images in their normal and hover states.

Border Radius (Normal & Hover)

Adjust the roundness of the corners for images in their normal and hover states.

Box Shadow (Normal & Hover)

Apply a shadow effect around images in their normal and hover states.

CSS Filters (Normal & Hover)

Apply visual effects like blur or brightness to images in their normal and hover states.

Hover Animation

Apply an animation effect to the image when the mouse hovers over it.

Transition Duration

Set the time it takes for hover effects (like filters or animations) to transition.

Category Grid widget Style tab - Overlay

Styles apply only if 'Overlay' is enabled in the Content tab.

Overlay

Background (Normal & Hover)

Set the background type (e.g., gradient) for the overlay in its normal and hover states.

Blend Mode

Control how the overlay blends with the image below it.

Margin

Adjust the margin of the overlay, creating space between it and the image edges.

Hover Animation

Select an animation effect for the overlay appearing on hover.

Transition Duration

Set the time it takes for the overlay hover animation to complete.

Category Grid widget Style tab - Caption

Styles apply if 'Caption Display' is not 'Hide'.

Caption Style

Position

Choose whether the caption appears Outside or Inside the image area.

Spacing (Outside Position)

Adjust the space between the image and the caption when positioned outside.

Text Align (Outside Position)

Align the caption text horizontally (Left, Center, Right, Justified).

Vertical Align (Inside Position)

Align the caption vertically (Top, Middle, Bottom) within the image area when positioned inside.

Horizontal Align (Inside Position)

Align the caption horizontally (Stretch, Left, Center, Right) within the image area when positioned inside.

Title (Caption)

Text Color

Set the color of the caption title text (usually the category name).

Typography

Control the font settings for the caption title text.

Text Shadow

Apply a shadow effect to the caption title text.

Description (Caption)

Styles apply if 'Caption Display' is 'Show with Description'.

Text Color (Description)

Set the color of the caption description text.

Typography (Description)

Control the font settings for the caption description text.

Text Shadow (Description)

Apply a shadow effect to the caption description text.

Max Lines (Description)

Limit the caption description to a maximum number of lines.

Spacing (Description)

Adjust the space between the caption title and its description.

Caption Container

Background Color

Set a background color for the entire caption area.

Backdrop Filter

Apply visual effects like blur to the background of the caption when positioned inside the image.

Border Radius

Adjust the roundness of the corners for the caption container.

Padding

Define the inner spacing within the caption container.

Margin

Adjust the margin around the caption container when its horizontal alignment is not 'Stretch'.

Hover Animation (Inside Position)

Select an animation effect for the caption when the mouse hovers over the image (applies if caption is positioned inside).

Offset (Hover Animation)

Adjust the distance the caption moves during certain hover animations.

Transition Duration (Hover Animation)

Set the time it takes for the caption hover animation to complete.

Advanced tab

Access advanced layout, motion, and custom CSS options.

Advanced Tab Layout
Margin

Define the external space around the widget for separation from adjacent elements.

Padding

Set the internal spacing within the widget to control the arrangement of its content.

Width

Specify the widget's width behavior: Full Width, Inline, Custom, or Calculate.

Full width
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Inline
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Custom
  • Custom Width: Set the width in pixels, percentage, or viewport width (vw).
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Calculate
  • Calc: Use calculations like 100% - 20px to dynamically define the width.
  • Min Width: Set a minimum width in pixels, percentage, or viewport width (vw).
  • Vertical align: Set the vertical alignment to start, center, end, or stretch.
  • Size: Define the size as none, grow, or custom to determine widget dimensions.
Order

Control the widget's order using start, end, or custom values.

Position

Choose default, absolute or fixed positioning for the widget.

Absolute
  • Horizontal Orientation: Determines the element's horizontal alignment within its nearest positioned ancestor.
  • Offset: Specifies the distance between the element and the left or right edge of its containing block.
  • Vertical Orientation: Sets the element's vertical alignment within its nearest positioned ancestor.
  • Offset: Defines the space between the element and the top or bottom edge of its containing block.
Fixed
  • Horizontal Orientation: Controls the element's horizontal alignment relative to the browser window.
  • Offset: Adjusts the distance between the element and the left or right edge of the viewport.
  • Vertical Orientation: Manages the element's vertical alignment relative to the browser window.
  • Offset: Defines the space between the element and the top or bottom edge of the viewport.
Z-index

Set the stacking order of the widget relative to other elements.

CSS ID

Assign a unique CSS ID for custom styling or interaction.

CSS Classes

Add custom CSS classes for targeted styling via external stylesheets.

Element Cache

Improves loading times by storing a static version of this element.

Advanced Tab Motion Effects
Scrolling Effects

Enhance elements with various dynamic effects triggered by the user's scrolling behavior.

  • Vertical Scroll: Configure the scroll direction, speed, and viewport range for vertical scrolling effects.
  • Horizontal Scroll: Set the scroll direction, speed, and viewport range for horizontal scrolling effects.
  • Transparency: Adjust the transparency based on the direction, level, and viewport range.
  • Blur: Apply a blur effect with customizable direction, level, and viewport range.
  • Rotate: Rotate the element using direction, speed, and viewport settings.
  • Scale: Scale the element with direction, speed, and viewport controls.
  • Apply Effects on: Choose whether to apply scrolling effects on desktop, tablet, or mobile devices.
  • Effects Relative to: Define whether the effects are relative to the default container, the viewport, or the entire page.
Mouse Effects

Enable mouse based effects for added interactivity.

  • Mouse Track: Adjust the direction and speed of the effect as the user moves the mouse across the page.
  • 3D Tilt: Enable 3D tilt effects with controllable direction and speed for a more immersive experience.
Sticky Effects

Fix elements at the top or bottom of the viewport as the user scrolls for persistent visibility.

  • Sticky on: Apply sticky effects on desktop, tablet, or mobile devices.
  • Offset: Set the offset in pixels to trigger the sticky effect after scrolling.
  • Dynamic Offset: Use a CSS selector to dynamically set the offset based on other elements on the page.
  • Effects Offset: Configure the pixel offset to control when additional effects apply.
  • Stay in Column: Choose whether the sticky element remains within its column during scrolling (yes or no).
  • Hide on Scroll: Set the offset and transition duration for hiding the sticky element when scrolling down.
Entrance Animation

Apply predefined animations to elements when they appear on screen.

  • Fading: Elements gradually fade in or out of view.
  • Revealing: Create smooth reveal effects as elements come into view.
  • Sliding & Revealing: Combine sliding motion with reveal effects.
  • Scaling & Revealing: Adjust the size of elements as they are revealed.
  • Zooming: Apply zoom in or out effects during element appearance.
  • Bouncing: Elements enter with a bouncing motion for attention-grabbing effects.
  • Sliding: Elements slide into view from different directions.
  • Rotating: Apply rotation effects as elements enter or leave the viewport.
  • Attention Seekers: Highlight elements with exaggerated, noticeable animations.
  • Specials: Unique animations for elements that require special effects.
Advanced Tab Transform
Opacity

Adjust the transparency level of the element to create fade effects during normal or hover states.

Rotate

Rotate the element along the X, Y, or Z axes for dynamic visual effects. Use deg (degrees) values or apply 3D rotation.

Offset

Shift the position of the element horizontally (X-axis) or vertically (Y-axis) to control its exact placement within the layout.

Scale

Resize the element, with the option to keep proportions (yes or no) and adjust the scale factor to enlarge or shrink the element.

Skew

Skew the element along the X and Y axes to tilt its appearance.

Flip Horizontal/Vertical

Flip the element horizontally or vertically by selecting the anchor points (X: left, center, right; Y: top, center, bottom) for precise control over the flip transformation.

Trigger by (On hover)

Choose whether the hover transformation is triggered by interaction with the widget, column, or section.

Transition Duration (On hover)

Set the time duration in milliseconds that the hover transition effect takes to complete.

Transition Delay (On hover)

Specify a delay in milliseconds before the hover transition effect begins.

Advanced Tab Background
Background Type

Select the background type: None, Classic, or Gradient.

Classic
Color
Set a solid background color to provide a consistent base for your design.
Image
Upload an image to use as the background. Additional settings include:
  • Loading: Choose whether to load the background image lazily or immediately.
  • Position: Define the image's position within the background (e.g., center, top-left).
  • Attachment: Set the background image to scroll with the page or remain fixed.
  • Repeat: Determine if the image repeats or stays single across the background area.
  • Size: Control the size of the background image, such as cover, contain, or custom dimensions.
Backdrop Filters
Apply visual filters to the background, such as blur, brightness, or contrast, enhancing its appearance.
Transition Duration (On hover)
Set the time duration in milliseconds that the hover transition effect takes to complete.
Gradient
Color
Select the primary color for the gradient background.
Location
Define the starting position of the primary color in the gradient effect.
Second Color
Select the secondary color to blend into the gradient.
Location
Set the starting point of the secondary color within the gradient.
Angle
Adjust the angle at which the gradient flows (e.g., horizontal, vertical, diagonal).
Backdrop Filters
Apply visual filters to the gradient background for added depth and effects.
Transition Duration (On hover)
Set the time duration in milliseconds that the hover transition effect takes to complete.

Advanced Tab Border
Border Type

Define the border style of the element.

Border Width

Set the thickness of the element's border.

Border Color

Define the color of the element's border.

Border Radius

Adjust the corner roundness of the element.

Box Shadow

Apply shadow effects to add depth to the element.

Advanced Tab Visibility
Responsive Visibility

Control the display of elements across different devices by selectively hiding them on desktop, tablet, or mobile.

Scheduled Visibility

Set the section's visibility based on specific schedules.

Customer Group Visibility

Control section visibility based on customer groups.

Advanced Tab Custom CSS
Custom CSS

Apply custom CSS to style the widget beyond the default settings.

Note: This requires CSS knowledge—use carefully, as incorrect syntax can impact other areas of the site.

/* For main element */
selector { 
  color: red; 
}

/* For child element */
selector .child-element { 
  margin: 10px; 
}

/* Or use any custom selector */
.my-class { 
  text-align: center; 
}

If you want to learn the basics of CSS, W3Schools is a great resource for that.

© WebshopWorks - Professional PrestaShop Addons