Custom 3 col title text vidoe and img shopify section

Custom 3-Column Title, Text, Video, and Image Shopify Section – Versatile & Engaging Layout! Enhance your Shopify store with a Custom 3-Column Shopify Section that seamlessly combines title, text, video, and images for a dynamic and visually appealing layout. Perfect for showcasing product features, brand stories, testimonials, or promotions, this section ensures an engaging shopping experience for your customers. 🔥 Key Features: ✅ Three Flexible Columns – Display a mix of text, video, and images side by side. ✅ Customizable Layout – Adjust content, colors, and styles to match your brand. ✅ Video Integration – Embed product demos, testimonials, or brand videos. ✅ SEO & Mobile Optimized – Ensures fast loading and a seamless experience. ✅ No Coding Needed – Drag-and-drop functionality for easy setup.
<section class="beautiful-benefits-section" style="background-color: {{ section.settings.background_color }}; padding: {{ section.settings.padding_top }}px 0 {{ section.settings.padding_bottom }}px;"> <div class="benefits-container page-width"> <div class="section-title"> {{ section.settings.title }} </div> <div class="section-video-text"> <!-- Text Column --> <div class="benefits-column text-column"> {% for block in section.blocks %} <div class="benefit-item"> <h2 class="benefit-title">{{ block.settings.title }}</h2> <p class="benefit-text">{{ block.settings.text }}</p> </div> {% endfor %} </div> <!-- Media Column --> <div class="benefits-column media-column"> {% if section.settings.media_type == 'image' %} <img src="{{ section.settings.media_image | img_url: 'master' }}" alt="Benefit Image" class="benefit-image" /> {% elsif section.settings.media_type == 'video' %} <video class="video-hero-background" autoplay muted loop playsinline > <source src="{{ section.settings.media_video.sources[1].url }}" type="video/mp4"> </video> {% endif %} </div> </div> </div> </section> <style> /* Section Styling */ .beautiful-benefits-section { display: flex; justify-content: center; align-items: center; width: 100%; } .benefits-container { display: flex; gap: 40px; } .benefits-column { flex: 1; min-width: 300px; } .text-column { padding-right: 20px; } .benefits-container.page-width .section-title p { font-size: 40px; line-height: 44px; letter-spacing: 0; margin: 0; } .benefits-container.page-width .section-title p em { font-size: 40px; line-height: 44px; letter-spacing: -0.8px; font-family: auto; } .media-column { display: flex; justify-content: center; align-items: baseline; } .section-video-text { display: flex; flex-direction: row; gap: 24px; width: 100%; } .benefit-item { margin-bottom: 20px; } .benefit-title { font-size: 24px; font-weight: bold; margin-bottom: 10px; } .benefits-column.media-column img { display: block; margin-inline: auto; width: 100%; max-width: 410px; height: 530px; object-fit: cover; /* height: auto; */ border-radius: 20px; } video.video-hero-background { display: block; margin-inline: auto; width: 100%; max-width: 410px; height: 530px; object-fit: cover; /* height: auto; */ border-radius: 20px; } .benefits-column.text-column .benefit-item .benefit-text { font-size: 15px; line-height: 24px; letter-spacing: 0rem; margin: 0; color: #1e1e1e; font-weight: 400; } .benefits-column.text-column .benefit-item .benefit-text { font-size: 15px; line-height: 24px; letter-spacing: 0rem; margin: 0; color: #1e1e1e; margin-block: 8px; font-weight: 400; } .benefits-column.text-column .benefit-item h2.benefit-title { font-size: 16px; line-height: 24px; margin: 0; color: #1e1e1e; margin-block: 8px; margin-top: 40px; letter-spacing: 0em; font-weight: 700; } @media(max-width:1199px){ .section-video-text { flex-direction: column-reverse; align-items: baseline; } } @media (max-width: 768px) { .benefits-container { flex-direction: column; } .section-video-text { align-items: center; } .section-title { text-align: center; } video.video-hero-background { height: 425px; } .text-column { padding-right: 0; } } </style> {% schema %} { "name": "custom-product-promo", "settings": [ { "type": "color", "id": "background_color", "label": "Background Color", "default": "#f9f4ee" }, { "type": "range", "id": "padding_top", "label": "Padding Top", "default": 50, "min": 0, "max": 200, "step": 5 }, { "type": "range", "id": "padding_bottom", "label": "Padding Bottom", "default": 50, "min": 0, "max": 200, "step": 5 }, { "type": "richtext", "id": "title", "label": "Title" }, { "type": "select", "id": "media_type", "label": "Media Type", "options": [ { "value": "image", "label": "Image" }, { "value": "video", "label": "Video" } ], "default": "image" }, { "type": "image_picker", "id": "media_image", "label": "Image" }, { "type": "video", "id": "media_video", "label": "Video" } ], "blocks": [ { "type": "text_block", "name": "Benefit Item", "settings": [ { "type": "text", "id": "title", "label": "Title", "default": "Benefit Title" }, { "type": "textarea", "id": "text", "label": "Description", "default": "Benefit description goes here." } ] } ], "presets": [ { "name": "custom-product-promo", "category": "Custom Sections" } ] } {% endschema %}