{"id":1488,"date":"2026-11-17T03:22:46","date_gmt":"2026-11-17T03:22:46","guid":{"rendered":"https:\/\/bricksfly.com\/blog\/?p=1488"},"modified":"2026-11-17T03:22:47","modified_gmt":"2026-11-17T03:22:47","slug":"bricks-image-accordion","status":"publish","type":"post","link":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/","title":{"rendered":"How to Create an Image Accordion in Bricks Builder"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">An image accordion shows several images side by side as narrow panels. When a visitor hovers over or focuses on a panel, it widens to reveal the full image and a short caption, while the others shrink. It fits a lot of visual content into one row and gives each item a moment of focus, which is why it is popular on portfolio, agency and travel sites.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bricks Builder includes an Accordion element, but that element creates collapsible text sections with titles and expandable content, not image panels. This guide shows two ways to build a <strong>Bricks image accordion<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Method 1, no code:<\/strong> the BricksFly <strong>Image Accordion<\/strong> Element.<\/li>\n\n\n\n<li><strong>Method 2, CSS only:<\/strong> native Bricks Elements plus a short block of CSS, with keyboard support and a mobile layout.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">You will also find use cases, an accessibility checklist, a dynamic version using a Bricks query loop, and fixes for common problems.<\/p>\n\n\n\n<div style=\"background-color: #FFF9E6; padding: 22px 25px; border-radius: 8px; border-left: 4px solid #E8B83D; margin: 20px 0;\">\n  <p style=\"margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #9A6B00; letter-spacing: 0.5px;\">\n    QUICK ANSWER\n  <\/p>\n\n  <p style=\"margin: 0; font-size: 16px; line-height: 1.7; color: #333333;\">\n    To create an image accordion in Bricks Builder without code, enable the <strong>BricksFly Image Accordion Element<\/strong> under <strong>BricksFly &gt; Elements<\/strong> and add it to your page. To build one natively, place one Block per panel in a flex Container, give each Block an Image and a caption, and use CSS so the hovered or focused panel grows (<code>flex-grow: 4<\/code>) while the others stay narrow (<code>flex-grow: 1<\/code>).\n  <\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">What Is an Image Accordion?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-anatomy-1024x576.webp\" alt=\"Image accordion anatomy\" class=\"wp-image-1494\" srcset=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-anatomy-1024x576.webp 1024w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-anatomy-300x169.webp 300w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-anatomy-768x432.webp 768w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-anatomy-1536x864.webp 1536w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-anatomy.webp 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em>Collapsed panels, one expanded panel and the content overlay<\/em><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Part<\/strong><\/td><td><strong>What it does<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Panels<\/td><td>Each panel holds one image. Collapsed panels show a narrow slice of the image<\/td><\/tr><tr><td>Expanded panel<\/td><td>The active panel takes more width so the image and caption are fully visible<\/td><\/tr><tr><td>Content overlay<\/td><td>A title, short text and optional link shown on the expanded panel, usually over a dark gradient for contrast<\/td><\/tr><tr><td>Trigger<\/td><td>Hover and keyboard focus on desktop; a tap, or a stacked layout, on phones<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Compared with a slider, an image accordion shows every item at once, so visitors see how many items there are and can jump to any of them. Compared with a grid, it saves vertical space and gives one item visual priority.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">When to Use an Image Accordion<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"900\" src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-use-cases.webp\" alt=\"Image accordion use cases\" class=\"wp-image-1495\" srcset=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-use-cases.webp 1600w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-use-cases-300x169.webp 300w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-use-cases-768x432.webp 768w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-use-cases-1024x576.webp 1024w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-use-cases-1536x864.webp 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em>Six good uses for an image accordion<\/em><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Use case<\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Portfolio categories<\/td><td>Branding, web design, photography, motion and print, each linking to a filtered portfolio<\/td><\/tr><tr><td>Services overview<\/td><td>One panel per service with a short line and a link to the service page<\/td><\/tr><tr><td>Destinations or rooms<\/td><td>Travel destinations, hotel rooms or venue spaces<\/td><\/tr><tr><td>Team or departments<\/td><td>Department photos with the team name and a short description<\/td><\/tr><tr><td>Product collections<\/td><td>Seasonal or category collections for a store<\/td><\/tr><tr><td>Case study teasers<\/td><td>A key image, one result and a read-more link<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Keep it to <strong>three to six panels<\/strong>. With more, the collapsed panels become slivers too thin to recognize, especially on laptops.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">Method 1: Add an Image Accordion With BricksFly (No Code)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">BricksFly is a complete Bricks Builder toolkit that helps users build modern animated websites faster with full website templates, 500+ sections, extra Elements, Extensions, and no-code GSAP animations. Its <strong>Image Accordion<\/strong> Element highlights images with smooth accordion-style interactions, and it sits in the Advanced Elements group of the BricksFly documentation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Step 1: Enable the Image Accordion Element<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to your <strong>WordPress Dashboard<\/strong> and click <strong>BricksFly<\/strong>.<\/li>\n\n\n\n<li>Open the <strong>Elements<\/strong> tab.<\/li>\n\n\n\n<li>Select the <strong>Advanced<\/strong> category, toggle on <strong>Image Accordion<\/strong>, then click <strong>Save Settings<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Activate-Image-Accordion-1024x344-1.webp\" alt=\"Activate image accordion\" class=\"wp-image-1496\" srcset=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Activate-Image-Accordion-1024x344-1.webp 1024w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Activate-Image-Accordion-300x101-1.webp 300w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Activate-Image-Accordion-767x258-1.webp 767w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Activate-Image-Accordion-1536x517-1.webp 1536w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Activate-Image-Accordion-.webp 1742w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Step 2: Add the Element to Your Page<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open the page in the Bricks editor. BricksFly Elements appear in the <strong>BricksFly<\/strong> group of the Elements panel. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Drag <strong>Image Accordion<\/strong> into a Section, then add your items, images and captions in the Element&#8217;s Content settings. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"486\" src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Three-items-are-added-1024x486.webp\" alt=\"Three items are added\" class=\"wp-image-1498\" srcset=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Three-items-are-added-1024x486.webp 1024w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Three-items-are-added-300x142.webp 300w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Three-items-are-added-768x364.webp 768w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Three-items-are-added-1536x728.webp 1536w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Three-items-are-added.webp 1904w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Step 3: Style It and Add Motion<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Match the panel height to your layout; around 420 to 560 px works well for a full-width desktop row.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"399\" height=\"898\" src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-14.webp\" alt=\"Image 14\" class=\"wp-image-1499\" srcset=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-14.webp 399w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-14-133x300.webp 133w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use images with the subject near the center, so the collapsed slices still show something recognizable.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"899\" src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-15.webp\" alt=\"Image 15\" class=\"wp-image-1500\" srcset=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-15.webp 400w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-15-133x300.webp 133w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Adjust the Accordion Settings &#8211; Title HTML Tag, layout, Default Open Item and many more.<\/li>\n\n\n\n<li>BricksFly Elements show panels for the BricksFly Extensions you have enabled. For example, use <strong>Advanced Animation<\/strong> to fade the whole accordion in on scroll.<\/li>\n\n\n\n<li>Test on a phone and check how the Element behaves on small screens.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The full list of options is in the <a href=\"https:\/\/bricksfly.com\/docs\/advanced-widgets\/how-to-add-image-accordion-using-bricksfly\/\">Image Accordion documentation<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Final Result<\/h3>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" style=\"aspect-ratio: 1920 \/ 1080;\" width=\"1920\" controls src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Image-Accordion.mp4\"><\/video><\/figure>\n\n\n\n<div style=\"background-color: #FFF9E6; padding: 25px 30px; border-radius: 8px; border-left: 4px solid #E8B83D; margin: 20px 0; text-align: center;\">\n  <p style=\"margin: 0 0 12px; font-size: 19px; font-weight: 700; color: #333333;\">\n    Prefer no code?\n  <\/p>\n\n  <p style=\"margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: #444444;\">\n    The <strong>Image Accordion Element<\/strong> is part of the BricksFly toolkit, along with 30+ starter templates, 500+ sections, and the GSAP animation engine.\n  <\/p>\n\n  <a href=\"https:\/\/bricksfly.com\/pricing\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"display: inline-block; background-color: #E8B83D; color: #222222; padding: 12px 26px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 700;\">\n    See BricksFly Plans\n  <\/a>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">Method 2: Build an Image Accordion With Native Bricks and CSS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This version uses only native Bricks Elements and about 50 lines of CSS. It works with hover, keyboard focus and touch, and stacks the panels on phones.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Step 1: Build the Structure<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"900\" src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-structure.webp\" alt=\"Image accordion structure\" class=\"wp-image-1492\" srcset=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-structure.webp 1600w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-structure-300x169.webp 300w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-structure-768x432.webp 768w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-structure-1024x576.webp 1024w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-structure-1536x864.webp 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em>Container &gt; Block &gt; Image + content Div<\/em><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add a <strong>Section<\/strong>, and give its <strong>Container<\/strong> the class img-acc.<\/li>\n\n\n\n<li>Inside the Container, add a <strong>Block<\/strong> for each panel and give it the class img-acc__item. Set the Block&#8217;s HTML tag to a link (a) and point it to the page the panel should open. This makes the whole panel clickable and focusable with the keyboard.<\/li>\n\n\n\n<li>Inside each Block, add an <strong>Image<\/strong> Element with descriptive alt text.<\/li>\n\n\n\n<li>Below the Image, add a <strong>Div<\/strong> with the class img-acc__content, and put a <strong>Heading<\/strong> and a short <strong>Text<\/strong> Element inside it.<\/li>\n\n\n\n<li>Duplicate the Block until you have three to six panels. Add the class is-default to the panel that should be open before any interaction.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Using a real Image Element instead of a CSS background image keeps alt text for screen readers, and Bricks applies native lazy loading to images by default.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Step 2: Add the CSS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Paste this into <strong>Bricks &gt; Settings &gt; Custom code &gt; Custom CSS<\/strong>, or into the Container&#8217;s custom CSS:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>.img-acc {\n\n\u00a0 display: flex;\n\n\u00a0 gap: 12px;\n\n\u00a0 height: 480px;\n\n}\n\n.img-acc__item {\n\n\u00a0 position: relative;\n\n\u00a0 flex: 1 1 0;\n\n\u00a0 min-width: 0;\n\n\u00a0 overflow: hidden;\n\n\u00a0 border-radius: 16px;\n\n\u00a0 transition: flex-grow .5s ease;\n\n}\n\n.img-acc__item img {\n\n\u00a0 position: absolute; inset: 0;\n\n\u00a0 width: 100%; height: 100%;\n\n\u00a0 object-fit: cover;\n\n}\n\n\/* The open panel: default, hovered or keyboard-focused *\/\n\n.img-acc__item.is-default,\n\n.img-acc__item:hover,\n\n.img-acc__item:focus-visible { flex-grow: 4; }\n\n\/* When another panel is active, close the default one *\/\n\n.img-acc:hover .img-acc__item.is-default:not(:hover),\n\n.img-acc:focus-within .img-acc__item.is-default:not(:focus-visible) { flex-grow: 1; }\n\n.img-acc__content {\n\n\u00a0 position: absolute; left: 0; right: 0; bottom: 0;\n\n\u00a0 padding: 24px;\n\n\u00a0 color: #fff;\n\n\u00a0 background: linear-gradient(transparent, rgba(0, 0, 0, .7));\n\n\u00a0 opacity: 0;\n\n\u00a0 transform: translateY(12px);\n\n\u00a0 transition: opacity .3s ease, transform .3s ease;\n\n}\n\n.img-acc__item.is-default .img-acc__content,\n\n.img-acc__item:hover .img-acc__content,\n\n.img-acc__item:focus-visible .img-acc__content { opacity: 1; transform: none; }\n\n.img-acc:hover .img-acc__item.is-default:not(:hover) .img-acc__content { opacity: 0; }\n\n.img-acc__item:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }\n\n\/* Phones: stacked panels with captions always visible *\/\n\n@media (max-width: 767px) {\n\n\u00a0 .img-acc { flex-direction: column; height: auto; }\n\n\u00a0 .img-acc__item { flex: none; height: 200px; }\n\n\u00a0 .img-acc__content { opacity: 1; transform: none; }\n\n}\n\n@media (prefers-reduced-motion: reduce) {\n\n\u00a0 .img-acc__item, .img-acc__content { transition: none; }\n\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">How the CSS Works<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Every panel starts with flex: 1 1 0, so all panels share the row equally.<\/li>\n\n\n\n<li>The active panel gets flex-grow: 4, so it takes four shares of the free space while the others keep one.<\/li>\n\n\n\n<li>min-width: 0 lets the panels shrink below the width of their content, which flex items do not do by default.<\/li>\n\n\n\n<li>object-fit: cover keeps each image filling its panel without stretching as the width changes.<\/li>\n\n\n\n<li>:focus-visible opens a panel when it is reached with the Tab key and shows a visible focus ring.<\/li>\n\n\n\n<li>On phones the panels stack vertically with captions always visible, because there is no hover on touch screens.<\/li>\n<\/ul>\n\n\n\n<div style=\"background-color: #FFF9E6; padding: 22px 25px; border-radius: 8px; border-left: 4px solid #E8B83D; margin: 20px 0;\">\n  <p style=\"margin: 0; font-size: 16px; line-height: 1.7; color: #333333;\">\n    <strong style=\"color: #9A6B00;\">Performance Note:<\/strong> Animating <code>flex-grow<\/code> changes the layout, which requires more work from the browser than animating <code>transform<\/code> or <code>opacity<\/code>. With three to six panels and optimized images, this is generally not a problem. However, avoid placing several large accordions on a single page.\n  <\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">Make It Dynamic With a Bricks Query Loop<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To fill the accordion from posts, projects or a custom post type, use one Block instead of several:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Keep a single <strong>Block<\/strong> with the class img-acc__item inside the img-acc Container.<\/li>\n\n\n\n<li>Enable <strong>Use query loop<\/strong> on the Block and choose your post type, for example Projects, with a limit of 5.<\/li>\n\n\n\n<li>Set the Image Element&#8217;s source to the <strong>featured image<\/strong> with dynamic data, and the Heading to the <strong>post title<\/strong>.<\/li>\n\n\n\n<li>Link the Block to the <strong>post URL<\/strong> with dynamic data.<\/li>\n\n\n\n<li>To open the first panel by default, add .img-acc__item:first-child to the rules that use .is-default.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">Desktop, Keyboard and Mobile Behavior<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"900\" src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-devices.webp\" alt=\"Image accordion devices\" class=\"wp-image-1491\" srcset=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-devices.webp 1600w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-devices-300x169.webp 300w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-devices-768x432.webp 768w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-devices-1024x576.webp 1024w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-devices-1536x864.webp 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em>Plan each device before styling<\/em><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Device<\/strong><\/td><td><strong>Recommended behavior<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Desktop with mouse<\/td><td>Hover expands a panel; a click opens the linked page<\/td><\/tr><tr><td>Keyboard<\/td><td>Tab moves between panels; the focused panel expands with a visible focus ring<\/td><\/tr><tr><td>Tablet<\/td><td>Tap expands or opens the link; test both portrait and landscape<\/td><\/tr><tr><td>Phone<\/td><td>Stack panels vertically with captions always visible, or switch to a simple card list<\/td><\/tr><tr><td>Reduced motion<\/td><td>Panels still change size, but without the transition<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">Accessibility and Speed Checklist<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"900\" src=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-checklist.webp\" alt=\"Image accordion checklist\" class=\"wp-image-1490\" srcset=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-checklist.webp 1600w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-checklist-300x169.webp 300w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-checklist-768x432.webp 768w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-checklist-1024x576.webp 1024w, https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/image-accordion-checklist-1536x864.webp 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em>Six checks before publishing<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Use real Image Elements<\/strong> with descriptive alt text instead of CSS background images.<\/li>\n\n\n\n<li><strong>Make every panel reachable by keyboard<\/strong> through a link or button inside it.<\/li>\n\n\n\n<li><strong>Keep caption text readable.<\/strong> WCAG 2.2 Level AA asks for a contrast ratio of at least 4.5:1 for normal text, so place white text over a dark gradient, not directly on a bright photo.<\/li>\n\n\n\n<li><strong>Do not hide essential information<\/strong> inside collapsed panels. Prices or contact details belong elsewhere on the page.<\/li>\n\n\n\n<li><strong>Size images for the expanded width,<\/strong> not the full screen. An expanded panel in a 1,200px row is roughly 700px wide, so very large originals are wasted bandwidth.<\/li>\n\n\n\n<li><strong>Respect reduced motion<\/strong> with the media query in the CSS above.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">Troubleshooting for Image <strong>Accordion<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Problem<\/strong><\/td><td><strong>Likely cause<\/strong><\/td><td><strong>Fix<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Panels do not shrink<\/td><td>Content inside sets a minimum width<\/td><td>Add min-width: 0 to the panel<\/td><\/tr><tr><td>Images stretch or squash<\/td><td>Image keeps its natural size<\/td><td>Position the image absolutely with object-fit: cover<\/td><\/tr><tr><td>Captions overflow collapsed panels<\/td><td>Text is visible on narrow panels<\/td><td>Hide the content Div unless the panel is open<\/td><\/tr><tr><td>Keyboard users cannot open panels<\/td><td>Panels are not focusable<\/td><td>Make each Block a link, or add a link inside it<\/td><\/tr><tr><td>Hover state sticks on phones<\/td><td>Touch devices emulate hover on tap<\/td><td>Use the stacked mobile layout<\/td><\/tr><tr><td>Image Accordion Element missing in the editor<\/td><td>Element not enabled<\/td><td>Enable it in BricksFly &gt; Elements &gt; Advanced and save<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\"><strong>Common Mistakes to Avoid When Creating an Image Accordion in Bricks Builder<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An image accordion can make a website more interactive and visually engaging, but poor design choices can affect its usability, readability, and responsiveness. Avoid these common mistakes to create a smooth experience across desktop and mobile devices.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\"><strong>Adding Too Many Accordion Panels<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Avoid adding too many panels to a single image accordion. More than six panels can make the collapsed sections too narrow, leaving users with very little visual information to identify each image. Keep the number of panels manageable so visitors can easily explore the available content.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\"><strong>Displaying Text in Collapsed Panels<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Showing full captions or descriptions inside collapsed panels can make the accordion look cluttered. Instead, display captions and supporting text only when a panel is expanded. This keeps the layout clean and gives the selected image enough space to communicate its message.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\"><strong>Choosing Images with Off-Center Subjects<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Images with subjects positioned near the edges may not look good when displayed in narrow, collapsed panels. The important part of the image might get cropped, leaving only background details visible. Choose images with centrally positioned subjects or use appropriate image positioning settings to keep the main subject visible.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\"><strong>Ignoring the Mobile Layout<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A horizontal accordion with several narrow image slices may look attractive on desktop but become difficult to use on smaller screens. Plan a separate mobile layout by reducing the number of visible panels, adjusting their dimensions, or switching to a vertical accordion arrangement. Always test the interaction on actual mobile screen sizes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\"><strong>Forgetting Alt Text for Background Images<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When images are used as backgrounds, their visual content may not be accessible to screen reader users by default. Provide meaningful alternative text through an appropriate accessible text or image element when the image communicates important information. Decorative images, on the other hand, should not add unnecessary descriptions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\"><strong>Using Slow or Excessive Transitions<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Long transitions can make the accordion feel sluggish and delay interactions. Keep the width transition around <strong>0.5 seconds<\/strong> to create a responsive expansion effect. Avoid unnecessary animation effects that distract visitors or make the interaction feel slow.<\/p>\n\n\n\n<div style=\"background-color: #FFF9E6; padding: 22px 25px; border-radius: 8px; border-left: 4px solid #E8B83D; margin: 20px 0;\">\n  <p style=\"margin: 0; font-size: 16px; line-height: 1.7; color: #333333;\">\n    <strong style=\"color: #9A6B00;\">Final Tip:<\/strong> Keep your image accordion simple, responsive, and accessible. A well-planned layout with carefully selected images and smooth transitions will provide a better experience for visitors on every device.\n  <\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">How BricksFly Helps<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">BricksFly gives you the Image Accordion Element for the no-code route, and the rest of the toolkit around it: <a href=\"https:\/\/bricksfly.com\/starter-templates\/\">starter templates<\/a> with ready layouts, sections from the <a href=\"https:\/\/bricksfly.com\/bricks-section-library\/\">Bricks section library<\/a>, more <a href=\"https:\/\/bricksfly.com\/elements\/\">BricksFly Elements<\/a>, and the <a href=\"https:\/\/bricksfly.com\/bricks-gsap-animation\/\">GSAP animation engine<\/a> to animate the section around the accordion. For a related hover effect, see <a href=\"https:\/\/bricksfly.com\/image-reveal-on-hover\/\">image reveal on hover<\/a>, which shows an image when visitors hover over a text link.<\/p>\n\n\n\n<div style=\"background-color: #FFF9E6; padding: 30px 25px; border-radius: 10px; border: 1px solid #F3E3A8; margin: 25px 0; text-align: center;\">\n  <h2 style=\"margin: 0 0 14px; font-size: 24px; line-height: 1.3; color: #222222; font-weight: 700;\">\n    Build Interactive Bricks Pages Faster\n  <\/h2>\n\n  <p style=\"margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: #444444;\">\n    Get the <strong>Image Accordion Element<\/strong> and the full BricksFly toolkit: 30+ starter templates, 500+ sections, extra Elements, Extensions, and the no-code GSAP animation engine.\n  <\/p>\n\n  <p style=\"margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: #9A6B00; font-weight: 700;\">\n    Black Friday Sale &#8211; Until December 10, 2026. Get up to 50% off yearly and lifetime plans!\n  <\/p>\n\n  <a href=\"https:\/\/bricksfly.com\/pricing\/\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"display: inline-block; background-color: #E8B83D; color: #222222; padding: 13px 28px; border-radius: 6px; text-decoration: none; font-size: 16px; font-weight: 700;\">\n    Get BricksFly Pro\n  <\/a>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A Bricks image accordion turns a handful of images into a compact, interactive row where each item gets its moment. Use the BricksFly Image Accordion Element when you want to set it up without code, or build it natively with a flex Container, one Block per panel and about 50 lines of CSS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Whichever method you choose, keep it to three to six panels, use real images with alt text, support keyboard focus, stack the panels on phones, and respect reduced motion.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-2-xl-font-size\">FAQs<\/h2>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Does Bricks Builder have an image accordion element?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Bricks includes an Accordion element, but it creates collapsible text sections with titles and content, not expanding image panels. For an image accordion, use an add-on Element such as the BricksFly Image Accordion, or build one from native Blocks and Images with a short block of CSS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">How do I make an image accordion without a plugin?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Place one Block per panel inside a flex Container, add an Image and a caption Div to each Block, and use CSS so the hovered or focused panel gets flex-grow: 4 while the others keep flex-grow: 1. Add a mobile media query that stacks the panels, and a reduced-motion rule that removes the transition.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Should the accordion open on hover or click?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">On desktop, hover gives a quick preview and a click opens the linked page. Keyboard users need focus support, which :focus-visible provides. On touch screens there is no hover, so a stacked layout with visible captions is usually clearer than relying on taps.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">How many panels should an image accordion have?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Three to six panels work best. With more, the collapsed panels become too narrow to recognize on laptops, and the expanded panel has less room. If you have more items, use a grid or a slider, or split them into two accordions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Can I fill an image accordion with posts or projects?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. In the CSS method, enable the Bricks query loop on a single Block, then use dynamic data for the featured image, the post title and the post URL. The CSS applies to every Block the loop outputs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-xl-font-size\">Is an image accordion good for mobile?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Not in its desktop form. A row of narrow panels is hard to use on a small screen. Stack the panels vertically on phones with captions always visible, or switch to a simple list of cards at the mobile breakpoint.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An image accordion shows several images side by side as narrow panels. When a visitor hovers over or focuses on a panel,&hellip;<\/p>\n","protected":false},"author":7,"featured_media":1502,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[13,9],"class_list":["post-1488","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-animation","tag-animation","tag-bricks-builder"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create an Image Accordion in Bricks Builder<\/title>\n<meta name=\"description\" content=\"Create an image accordion in Bricks Builder with the BricksFly Image Accordion Element or a CSS-only build, with keyboard support, mobile layout and use cases.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create an Image Accordion in Bricks Builder\" \/>\n<meta property=\"og:description\" content=\"Create an image accordion in Bricks Builder with the BricksFly Image Accordion Element or a CSS-only build, with keyboard support, mobile layout and use cases.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/\" \/>\n<meta property=\"og:site_name\" content=\"Bricks Fly\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-17T03:22:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-17T03:22:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Creating-an-Image-Accordion-in-Bricks-Builder.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1672\" \/>\n\t<meta property=\"og:image:height\" content=\"941\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Zawad Alam\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Zawad Alam\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/\"},\"author\":{\"name\":\"Zawad Alam\",\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/#\\\/schema\\\/person\\\/5496afc9c898ef055503d59f590d82b1\"},\"headline\":\"How to Create an Image Accordion in Bricks Builder\",\"datePublished\":\"2026-11-17T03:22:46+00:00\",\"dateModified\":\"2026-11-17T03:22:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/\"},\"wordCount\":2386,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Creating-an-Image-Accordion-in-Bricks-Builder.webp\",\"keywords\":[\"Animation\",\"Bricks builder\"],\"articleSection\":[\"Animation\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/\",\"url\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/\",\"name\":\"How to Create an Image Accordion in Bricks Builder\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Creating-an-Image-Accordion-in-Bricks-Builder.webp\",\"datePublished\":\"2026-11-17T03:22:46+00:00\",\"dateModified\":\"2026-11-17T03:22:47+00:00\",\"description\":\"Create an image accordion in Bricks Builder with the BricksFly Image Accordion Element or a CSS-only build, with keyboard support, mobile layout and use cases.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Creating-an-Image-Accordion-in-Bricks-Builder.webp\",\"contentUrl\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Creating-an-Image-Accordion-in-Bricks-Builder.webp\",\"width\":1672,\"height\":941,\"caption\":\"Creating an Image Accordion in Bricks Builder\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/bricks-image-accordion\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create an Image Accordion in Bricks Builder\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/\",\"name\":\"Bricks Fly\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/#organization\",\"name\":\"Bricks Fly\",\"url\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/Bricks-fly-logo.webp\",\"contentUrl\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/Bricks-fly-logo.webp\",\"width\":300,\"height\":82,\"caption\":\"Bricks Fly\"},\"image\":{\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/#\\\/schema\\\/person\\\/5496afc9c898ef055503d59f590d82b1\",\"name\":\"Zawad Alam\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/635ee13acbc9281f13eda33d461a696b554215719f52296932f4cf686c08bc74?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/635ee13acbc9281f13eda33d461a696b554215719f52296932f4cf686c08bc74?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/635ee13acbc9281f13eda33d461a696b554215719f52296932f4cf686c08bc74?s=96&d=mm&r=g\",\"caption\":\"Zawad Alam\"},\"url\":\"https:\\\/\\\/bricksfly.com\\\/blog\\\/author\\\/zawad-alam\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create an Image Accordion in Bricks Builder","description":"Create an image accordion in Bricks Builder with the BricksFly Image Accordion Element or a CSS-only build, with keyboard support, mobile layout and use cases.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/","og_locale":"en_US","og_type":"article","og_title":"How to Create an Image Accordion in Bricks Builder","og_description":"Create an image accordion in Bricks Builder with the BricksFly Image Accordion Element or a CSS-only build, with keyboard support, mobile layout and use cases.","og_url":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/","og_site_name":"Bricks Fly","article_published_time":"2026-11-17T03:22:46+00:00","article_modified_time":"2026-11-17T03:22:47+00:00","og_image":[{"width":1672,"height":941,"url":"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Creating-an-Image-Accordion-in-Bricks-Builder.webp","type":"image\/webp"}],"author":"Zawad Alam","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Zawad Alam","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/#article","isPartOf":{"@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/"},"author":{"name":"Zawad Alam","@id":"https:\/\/bricksfly.com\/blog\/#\/schema\/person\/5496afc9c898ef055503d59f590d82b1"},"headline":"How to Create an Image Accordion in Bricks Builder","datePublished":"2026-11-17T03:22:46+00:00","dateModified":"2026-11-17T03:22:47+00:00","mainEntityOfPage":{"@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/"},"wordCount":2386,"commentCount":0,"publisher":{"@id":"https:\/\/bricksfly.com\/blog\/#organization"},"image":{"@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/#primaryimage"},"thumbnailUrl":"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Creating-an-Image-Accordion-in-Bricks-Builder.webp","keywords":["Animation","Bricks builder"],"articleSection":["Animation"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/","url":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/","name":"How to Create an Image Accordion in Bricks Builder","isPartOf":{"@id":"https:\/\/bricksfly.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/#primaryimage"},"image":{"@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/#primaryimage"},"thumbnailUrl":"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Creating-an-Image-Accordion-in-Bricks-Builder.webp","datePublished":"2026-11-17T03:22:46+00:00","dateModified":"2026-11-17T03:22:47+00:00","description":"Create an image accordion in Bricks Builder with the BricksFly Image Accordion Element or a CSS-only build, with keyboard support, mobile layout and use cases.","breadcrumb":{"@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/#primaryimage","url":"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Creating-an-Image-Accordion-in-Bricks-Builder.webp","contentUrl":"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/11\/Creating-an-Image-Accordion-in-Bricks-Builder.webp","width":1672,"height":941,"caption":"Creating an Image Accordion in Bricks Builder"},{"@type":"BreadcrumbList","@id":"https:\/\/bricksfly.com\/blog\/bricks-image-accordion\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bricksfly.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Create an Image Accordion in Bricks Builder"}]},{"@type":"WebSite","@id":"https:\/\/bricksfly.com\/blog\/#website","url":"https:\/\/bricksfly.com\/blog\/","name":"Bricks Fly","description":"","publisher":{"@id":"https:\/\/bricksfly.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bricksfly.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/bricksfly.com\/blog\/#organization","name":"Bricks Fly","url":"https:\/\/bricksfly.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bricksfly.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/06\/Bricks-fly-logo.webp","contentUrl":"https:\/\/bricksfly.com\/blog\/wp-content\/uploads\/2026\/06\/Bricks-fly-logo.webp","width":300,"height":82,"caption":"Bricks Fly"},"image":{"@id":"https:\/\/bricksfly.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/bricksfly.com\/blog\/#\/schema\/person\/5496afc9c898ef055503d59f590d82b1","name":"Zawad Alam","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/635ee13acbc9281f13eda33d461a696b554215719f52296932f4cf686c08bc74?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/635ee13acbc9281f13eda33d461a696b554215719f52296932f4cf686c08bc74?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/635ee13acbc9281f13eda33d461a696b554215719f52296932f4cf686c08bc74?s=96&d=mm&r=g","caption":"Zawad Alam"},"url":"https:\/\/bricksfly.com\/blog\/author\/zawad-alam\/"}]}},"_links":{"self":[{"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/posts\/1488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/comments?post=1488"}],"version-history":[{"count":2,"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/posts\/1488\/revisions"}],"predecessor-version":[{"id":1501,"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/posts\/1488\/revisions\/1501"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/media\/1502"}],"wp:attachment":[{"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/media?parent=1488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/categories?post=1488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bricksfly.com\/blog\/wp-json\/wp\/v2\/tags?post=1488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}