Overview #
The Card settings group is a core component of the theme settings, designed to control the visual presentation of cards across the entire site. These settings influence the appearance and behavior of product, collection, and article cards, ensuring a cohesive look and feel. While these settings are applied globally, they can be customized at the section or block level for more specific design needs.
Key components and functionality #
Image aspect ratio
This setting manages the aspect ratio of images within cards, particularly affecting the "Banner" card style. Options include:
- Use theme setting
- Default
- Landscape
- Portrait
- Square
- Widescreen
- Ultrawide
The default value is use theme setting. This ensures images maintain a consistent appearance, enhancing the overall aesthetic of the site.
Card style
The card style setting defines the visual style of cards. Available options are:
- Use theme setting
- Banner
- No image
- No padding
- Padding
The default value is use theme setting. This setting allows for flexibility in card presentation, adapting to different content types and design preferences.
Card text display
This setting controls the text content displayed on cards. Options include:
- Use theme setting
- Title and excerpt
- Excerpt only
- Title only
- No text
The default value is use theme setting. This setting helps manage text visibility, balancing information display with design simplicity.
Card button style
This setting determines the style of buttons on cards. Options are:
- Use theme setting
- Primary
- Secondary
- Extra large
- Plain
- Small
- Small secondary
The default value is use theme setting. Consistent button styling is crucial for maintaining a unified user interface.
Card text horizontal alignment
This setting aligns text horizontally within cards. Options include:
- Use theme setting
- Left
- Center
- Right
The default value is use theme setting. Proper alignment enhances readability and visual balance.
Card text vertical alignment
This setting manages the vertical alignment of text within cards. Options are:
- Use theme setting
- Top
- Center
- Bottom
The default value is use theme setting. Vertical alignment affects the overall layout and flow of card content.
Usage examples #
-
Consistent Image Display: You might consider setting the image aspect ratio to "Square" to ensure uniformity across product images, which can be particularly useful for catalog pages.
-
Minimalist Card Design: Consider choosing "No image" and "No text" for a clean, minimalist card style that focuses solely on the product name or price.
-
Highlighting Promotions: You might consider using the "Banner" card style with "Primary" button style to draw attention to promotional items or special offers.
These settings provide a flexible framework for customizing the visual presentation of content, allowing you to tailor the theme to your specific branding and design needs.
Align v1.7 is out now! Learn more about our best release yet →