Happy 80th Independence Day 🇮🇳

image and text

image and text

Tags: Liquid Codes, image and text · 10 Aug 2026

Page: Product Pages (Optimized for Conversions)

Snippet Code

<style>
    .realted-post {
        margin: 16px 0;
        /* padding: 16px 24px 22px; */
        border-radius: 8px;
        background: #fff;
        position: relative;
        overflow: visible;
    }

    .realted-post h2 {
        font-family: sans-serif;
        font-size: 14px;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.33;
        letter-spacing: 1px;
        color: #6f7284;
        margin: 0 0 12px;
        text-transform: uppercase;
        font-weight: 600;
    }

    .swiper-container {
        margin-left: auto;
        margin-right: auto;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .swiper-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        transition-property: transform;
        box-sizing: content-box;
    }

    .realted-post .related-post-content .related-post-swipe .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        height: auto;
        background-color: #fff;
        width: 230px !important;
    }

    .swiper-slide {
        flex-shrink: 0;
        position: relative;
    }

    .realted-post .related-post-content .related-post-swipe .swiper-slide .post-item-info {
        text-align: center;
        border-radius: 8px;
        border: solid 1px #edeef0;
        background-color: #fff;
    }

    a {
        text-decoration: none;
        outline: 0;
    }

    .realted-post .related-post-content .related-post-swipe .swiper-slide .post-item-info .post-image-container {
        display: block;
    }

    .realted-post .related-post-content .related-post-swipe .swiper-slide .post-item-info .post-image-container img {
        border-radius: 8px;
        width: 100%;
    }

    img {
        vertical-align: middle;
        border-style: none;
        max-width: 100%;
    }

    .realted-post .related-post-content .related-post-swipe .swiper-slide .post-item-info .post-item-details {
        color: #151b39;
        text-align: left;
        font-family: sans-serif;
        height: 42px;
        font-size: 14px;
        overflow: hidden;
        margin: 16px 16px 8px;
        line-height: 1.5;
    }

    /* .realted-post .related-post-content .related-post-swipe .swiper-slide .post-item-info .post-item-details strong {
        font-weight: 400;
    } */

    .realted-post .related-post-content .related-post-swipe .swiper-slide .post-item-info p {
        margin: 0 16px 12px;
        text-align: left;
        height: 57px;
        overflow: hidden;
        font-size: 13px;
        font-family: sans-serif;
        color: #151b39;
        line-height: 1.5;
    }

    .swiper-container .swiper-notification {
        position: absolute;
        left: 0;
        top: 0;
        pointer-events: none;
        opacity: 0;
        z-index: -1000;
    }

    @media screen and (max-width: 425px) {
        .realted-post .related-post-content .related-post-swipe .swiper-slide {
            border-radius: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 189px !important;
            margin-right: 8px;
            background: #fff;
            border: 1px solid #f6f6f7;
        }

        .realted-post .related-post-content .related-post-swipe .swiper-slide .post-item-info .post-item-details {
            color: #151b39;
            text-align: left;
            font-family: sans-serif;
            height: 34px;
            font-size: 12px;
            overflow: hidden;
            margin: 8px 16px 16px;
            line-height: 1.5;
            font-weight: 300;
        }

        .realted-post .related-post-content .related-post-swipe .swiper-slide .post-item-info p {
            display: none;
        }
    }
</style>

<div class="realted-post">
    <h2>Related Posts</h2>
    <div class="related-post-content">
        <div class="related-post-swipe swiper-container swiper-container-initialized swiper-container-horizontal">
            <div class="swiper-wrapper" style="transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;">

                <div class="swiper-slide swiper-slide-active" style="width: 391px; margin-right: 12px;">
                    <div class="post-item-info">
                        <a
                            href="https://www.netmeds.com/health-library/post/migraine-bothering-you-try-these-versatile-ayurvedic-remedies-for-instant-pain-relief">
                            <div class="post-image-container">
                                <img class="product-image-photo"
                                    src="	https://www.netmeds.com/images/cms/magefan_blog/popular/1593414783_remedies_thumb_200x.jpg"
                                    alt="Migraine Bothering You? Try These Versatile Ayurvedic Remedies For Instant Pain Relief">
                            </div>
                            <div class="post-item-details">
                                <strong class="post-item-name"> Migraine Bothering You? Try
                                    These Versatile Ayurvedic Remedies For Instant Pain Relief
                                </strong>
                            </div>
                        </a>
                        <p>Migraine, that head-pounding pain can be quite annoying, and depressing and if n..</p>
                    </div>
                </div>

                <div class="swiper-slide swiper-slide-next" style="width: 391px; margin-right: 12px;">
                    <div class="post-item-info">
                        <a
                            href="https://www.netmeds.com/health-library/post/neck-exercises-strengthen-your-collarbones-with-these-simple-workouts">
                            <div class="post-image-container">
                                <img class="product-image-photo"
                                    src="https://www.netmeds.com/images/cms/wysiwyg/blog/default_popular.jpg"
                                    alt="Neck Exercises: Strengthen Your Collarbones With These Simple Workouts">
                            </div>
                            <div class="post-item-details">
                                <strong class="post-item-name"> Neck Exercises: Strengthen
                                    Your Collarbones With These Simple Workouts
                                </strong>
                            </div>
                        </a>
                        <p>The neck is an important part of the body and most of the time we tend to ignore..</p>
                    </div>
                </div>

            </div>
            <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
        </div>
    </div>
</div>

Instructions

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

Complete Video Tutorial: