Collapsible Content
The Collapsible Content section is designed to display information in a compact and interactive way. Users can expand and collapse content blocks, making it ideal for FAQs, descriptions, or any text-heavy content. The settings are highly customizable, allowing you to control the appearance and behavior of the section across devices.
Key Features
Color Schemes
Choose from predefined color schemes for the section and its content.
Easily match the collapsible content to your store's branding.
Width Control
Option to toggle the Max Width setting to restrict the content's width for better readability.
Customize the Content Container Width using a slider for precise control (measured in rem).
Accordion Behavior
Enable the Open Only One setting to create an accordion effect, where only one item can be open at a time.
Disable this to allow multiple items to remain expanded simultaneously.
Content Customization
Add a Heading to title your collapsible content section.
Choose the Heading Size (Small, Medium, Large) to match the overall typography.
Text Content
Include a text block to add descriptions or supporting information.
Fully customizable to include links, styled text, or additional details.
Alignment Options
Adjust the alignment of content separately for desktop and mobile:
Desktop Content Align: Left, Center, or Right.
Mobile Content Align: Left, Center, or Right.
Section Padding
Add padding to customize the spacing around the section for seamless integration with other elements on the page.
Section Settings Overview
Here’s a breakdown of the settings available for this section:
Color Scheme
Color Scheme
Choose the section's background and text colors from predefined options.
Content Color Scheme
Customize the color scheme specifically for the collapsible content text.
Width Control
Use Max Width
Enable to restrict the section's width for better focus on content.
Content Container Width
Adjust the container width with a slider for precise sizing (default is 50 rem).
Accordion Behavior
Open Only One
Enable to allow only one collapsible block to be open at a time.
Heading and Text
Heading
Add a title for the collapsible content section.
Heading Size
Select the size of the heading for emphasis (Small, Medium, Large).
Text
Add additional descriptive text or details below the heading.
Alignment
Desktop Content Align
Set the alignment for the desktop view (Left, Center, Right).
Mobile Content Align
Set the alignment for the mobile view (Left, Center, Right).
Steps to Add the Collapsible Content Section
Access the Theme Editor
Log in to your Shopify Admin
Navigate to Online Store > Themes and click Customize.
Add the Collapsible Content Section
In the Theme Editor, click Add Section.
Search for Collapsible Content and add it to your desired page.
Configure the Section Settings
Refer to the screenshot below for guidance while adjusting the settings:
Customize the Color Scheme to match your branding.
Use the Width Control settings to adjust the content width.
Enable or disable Open Only One based on your preference for accordion behavior.
Add a Heading and adjust its size using the dropdown.
Use the alignment options to fine-tune content placement for both desktop and mobile.
Add padding if needed to separate this section from other content on the page.
Save and Preview
Click Save once you’ve made the changes.
Test the section on different devices to ensure proper alignment and spacing.
Last updated