Jump to content

Custom testimonial carousel arrows

Recommended Posts

  • Replies 4
  • Views 1.4k
  • Created
  • Last Reply

Hi,

Insert this code in your Footer Code Injection.

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('#block-yui_3_17_2_1_1597380147313_30245 .sqs-gallery-design-carousel .sqs-gallery-container').after($('.sqs-block-summary-v2 .summary-block-setting-design-carousel .summary-carousel-pager'));
});
</script>

Insert this code in Design -> Custom CSS

.sqs-gallery-design-carousel .sqs-gallery-controls .previous {
    margin-left: -10vw;
    margin-right: auto;
    right: auto;
    left: -30px;
}

.sqs-gallery-design-carousel .sqs-gallery-controls .next {
    margin-right: -10vw;
    right: auto;
    left: -30px;
}

.sqs-block-summary-v2 .summary-block-setting-design-carousel .summary-carousel-pager {
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    float: none;
    clear: both;
    width: auto;
}


#block-yui_3_17_2_1_1597380147313_30245 .sqs-gallery-design-carousel .sqs-gallery-container {
    overflow: hidden;
}

div#block-yui_3_17_2_1_1597380147313_30245 .summary-block-wrapper.sqs-gallery-design-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
}

Please use the like button if it helps you!

Best,
Leopold

 

Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.