branchiconcarousel



code: 



    <style>
        .card-body h5 {
            color:#fff !important;
            text-align: center;
            font-size: 32px;
            font-family: Poppins;
            font-style: normal;
            font-weight: 600;
            line-height: 131%;
        }

        .gtco-testimonials {
            position: relative;
            margin-top: 30px;
        }

        .gtco-testimonials .owl-stage-outer {
            padding: 30px 0;
        }

        .gtco-testimonials .owl-nav {
            display: none;
        }

        .gtco-testimonials .owl-dots {
            text-align: center;
            display: none;
        }

        .gtco-testimonials .owl-dots .active {
            box-shadow: none;
        }

        .gtco-testimonials .owl-dots .active span {
            background: #01b0f8;
            box-shadow: none;
            height: 12px;
            width: 12px;
            margin-bottom: -1px;
        }

        .gtco-testimonials .card {
            margin: 0 20px;
            padding: 0 10px;
            border: 0;
        }

        .gtco-testimonials .card .card-img-top {
            margin: 15px auto 0;
            width: 100px;

        }
        .gtco-testimonials .card h5 span {
            font-size: 18px;
            color: #666666;
        }

        .gtco-testimonials .card p {
            font-size: 18px;
            color: #555;
            padding-bottom: 15px;
        }

        .gtco-testimonials .active {
            opacity: 0.5;
            transition: all 0.3s;
        }
        .gtco-testimonials .owl-item {
            opacity: 0.5;
            transition: all 0.3s;
        }

        .card {
            background-color: transparent;
        }

        .gtco-testimonials .center {
            opacity: 1;
        }



        .gtco-testimonials .center h5 span {
            font-size: 20px;
        }

        .gtco-testimonials .center .card-img-top {
            max-width: 100%;
            width: 85%;
        }
@media (max-width: 425px) {
      .gtco-testimonials .center .card-img-top {
            width: 45% !important;
        }
}
        @media (max-width: 767px) {
            .gtco-testimonials {
                margin-top: 20px;
            }
        }

        .owl-carousel .owl-nav button.owl-next,
        .owl-carousel .owl-nav button.owl-prev {
            outline: 0;
        }

        .owl-carousel button.owl-dot {
            outline: 0;
        }

        .owl-item.active.center div .card .card-body h5 {
            display: block !important;
            color: #555;
        }

        .owl-item.active.center .card .card-body h5 {
            display: block !important;
            color: #555;
        }
    </style>
    <div class="gtco-testimonials">
        <div class="owl-carousel owl-carousel1 owl-theme">
            <div>
                <div class="card text-center"><img alt="" class="card-img-top" src="" />
                    <div class="card-body">
                        <h5 style="display: none;">Health Care<br />

                        </h5>
                    </div>
                </div>
            </div>
            <div class="card text-center"><img alt="" class="card-img-top" src="" width="400" />
                <div class="card-body">
                    <h5 style="display: none;">Sports <br />
                    </h5>
                </div>
            </div>
            <div class="card text-center"><img alt="" class="card-img-top" src="" />
                <div class="card-body">
                    <h5 style="display: none;"> Real Estate <br />
                    </h5>
                </div>
            </div>
            <div class="card text-center"><img alt="" class="card-img-top" src="" />
                <div class="card-body">
                    <h5 style="display: none;"> Textile <br />
                    </h5>
                </div>
            </div>
            <div class="card text-center"><img alt="" class="card-img-top" src="" />
                <div class="card-body">
                    <h5 style="display: none;"> Ecommerce <br />
                    </h5>
                </div>
            </div>
        </div>


    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
    $(document).ready(function () {
        "use strict";

        var carousels = function () {
            $(".owl-carousel1").owlCarousel({
                loop: true,
                center: true,
                margin: 0,
                responsiveClass: true,
                nav: false,
                autoplay: true, // Add autoplay option
                autoplayTimeout: 3000, // Set autoplay timeout (in milliseconds)
                responsive: {
                    0: {
                        items: 1,
                        nav: false
                    },
                    680: {
                        items: 2,
                        nav: false,
                    },
                    1000: {
                        items: 4,
                        nav: true
                    }
                }
            });
        };
        
        (function ($) {
            carousels();
        })(jQuery);
    });
</script>
</div>












Comments