Skip to main content

Shop By Category Grid

Actual screenshot with sample data


A sophisticated responsive category navigation system that transforms product discovery through visually appealing grid layouts. This widget enables merchants to showcase product categories with customizable cards, optimized imagery, and seamless responsive behavior across all devices.

Overview​

The Shop By Category Grid widget provides an intelligent grid-based navigation system that automatically adapts to different screen sizes while maintaining visual consistency. With advanced typography controls, flexible image management, and smart responsive layouts, this widget serves as a cornerstone for effective e-commerce navigation and product categorization.

Key Features​

Smart Grid Layout System​

  • Auto-adjusting Desktop Grid: Dynamic columns that adapt to container width
  • 2-Column Mobile Layout: Optimized for touch interaction and mobile browsing
  • Intelligent Odd Item Handling: Centers single items in mobile view for balanced appearance
  • Consistent Aspect Ratios: Maintains 1:1 proportions across all cards

Advanced Visual Customization​

  • Individual Card Backgrounds: Custom colors for each category card
  • Flexible Image Padding: Precise control over image positioning within cards
  • Rounded Corner Design: Modern 12px border radius for contemporary appearance
  • Smooth Hover Effects: Transform and shadow transitions for interactive feedback

Responsive Typography System​

  • Device-Specific Heading Controls: Separate desktop and mobile typography settings
  • Comprehensive Font Controls: Weight, size, line height, and letter spacing
  • Category Label Styling: Independent typography for category names
  • CSS Custom Properties: Efficient variable-based styling system

Professional Image Management​

  • Optimized Image Containment: Object-fit contain for perfect image presentation
  • Background Color Integration: Custom backgrounds for image containers
  • Flexible Aspect Ratios: Consistent 1:1 container proportions
  • Accessible Alt Text: Automatic alt text generation from category labels

Configuration Options​

General Settings​

SettingTypeDefaultDescription
Main HeadingText"Shop Top Categories"Primary section heading text

Heading Typography Settings​

Desktop Typography​

SettingTypeDefaultDescription
ColorColor#000000Heading text color
Font SizeNumber24pxText size in pixels
Font WeightSelect300Font weight (100-900)
Line HeightNumber34pxLine spacing in pixels
Letter SpacingNumber-1pxCharacter spacing adjustment

Mobile Typography​

SettingTypeDefaultDescription
ColorColor#000000Heading text color
Font SizeNumber16pxText size in pixels
Font WeightSelect400Font weight (100-900)
Line HeightNumber34pxLine spacing in pixels
Letter SpacingNumber-1pxCharacter spacing adjustment

Category Name Typography​

SettingTypeDefaultDescription
Font WeightSelect500Category label weight (100-900)
Font SizeNumber14pxLabel text size
Line HeightNumber20pxLabel line spacing
Letter SpacingNumber0pxLabel character spacing
Category ColorColor#654321Label text color

Image Settings​

SettingTypeDefaultDescription
Image PaddingBox Model16px top/bottomPadding around category images

Category Configuration​

SettingTypeDefaultDescription
Category ImageImage ManagerDefault product imageCategory visual representation
Background ColorColor#f4f4f4Card background color
Category NameText"Category"Display label for category
Category LinkURL"#"Navigation destination URL