Happy 80th Independence Day 🇮🇳

3 Info sliders with image

3 Info sliders with image

Tags: Liquid Codes, collection optimizations · 11 Aug 2026

Page: Product Pages (Optimized for Conversions)

Snippet Code

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Responsive Auto-Scrolling Slider</title>
  <style>
    /* Slider Container */
    #v3-slider-container {
      overflow: hidden;
      position: relative;
      padding: 20px 5px;
      max-width: 1500px;
      margin: 0 auto;
    }

    @media only screen and (min-width: 768px) {
      #v3-slider-container {
        width: max-content;
      }
    }

    /* Slider */
    #v3-slider {
      display: flex;
      transition: transform 0.5s ease-in-out;
      padding: 5px;
    }

    .v3-slider-card {
      flex: 0 0 80%;
      max-width: 300px;
      height: max-content;
      display: flex;
      flex-direction: column;
      background-color: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      box-sizing: border-box;
      gap: 10px;
      transition: transform 0.3s ease;
      justify-content: space-around;
      margin-right: 10px;
    }

    /* Pagination */
    #v3-pagination {
      display: flex;
      justify-content: center;
      margin-top: 10px;
      display: none;
    }

    .v3-pagination-dot {
      width: 18px;
      height: 6px;
      background-color: #0d437d29;
      cursor: pointer;
    }

    .v3-pagination-dot.active {
      background-color: #f05454;
      width: 22px;
      border-radius: 5px;
    }

    /* Content Styling */
    .content-container {
      padding: 10px;
    }

    .feature-title {
      margin: 0;
      font-weight: 700;
      color: #203E5C;
    }

    .feature-image {
      border-top-right-radius: 10px;
      border-top-left-radius: 10px;
      width: 100%;
      height: auto;
    }

    .feature-description {
      font-size: 15px;
      font-weight: 500;
    }

    /* Auto-scrolling effect for mobile */
    /* @media (max-width: 768px) {
      #v3-slider {
        animation: scroll 15s linear infinite;
      }
    }

    @keyframes scroll {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-100%);
      }
    } */

    @media (max-width: 425px) {
      #v3-slider {
        animation: scroll 15s linear infinite;
      }
    }

    @keyframes scroll {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-143%);
      }
    }
  </style>
</head>

<body>

  <div id="v3-slider-container">
    <div id="v3-slider">
      
      <div class="v3-slider-card">
        <img src="//www.moonpod.co/cdn/shop/files/1_16.jpg?v=1720630615" class="feature-image">
        <div class="content-container">
          <h3 class="feature-title">Relaxing Comfort</h3>
          <p class="feature-description">Thousands of high density beads conform to every inch of your body,
            mimicking floatation therapy, a known treatment for reducing stress and anxiety.</p>
        </div>
      </div>

      <div class="v3-slider-card">
        <img src="//www.moonpod.co/cdn/shop/files/2_13.jpg?v=1720630634" class="feature-image">
        <div class="content-container">
          <h3 class="feature-title">Upgraded Leisure</h3>
          <p class="feature-description">People love to Moon Pod together. Our beads do the work, so it's easier
            to relax with loved ones. Reading, napping, and gaming are all better on a Moon Pod.</p>
        </div>
      </div>

      <div class="v3-slider-card">
        <img src="//www.moonpod.co/cdn/shop/files/3_14.jpg?v=1720630634" class="feature-image">
        <div class="content-container">
          <h3 class="feature-title">Elevated Relaxation</h3>
          <p class="feature-description">Unparalleled support meets adaptive flexibility, relieving tension and
            joint pain while you relax. The perfect amount of structure for all shapes and sizes.</p>
        </div>
      </div>

    </div>
    <div id="v3-pagination"></div>
  </div>

</body>

</html>

Instructions

Heyy Guys 👋
Watch the video below to learn how to Import these Codes into your Shopify Ecommerce Store!

Complete Video Tutorial: