Jump to content

Help please! with text creeping to right on blog testimonial rotating slider

Recommended Posts

Site URL: https://www.deliciouscreations.co.uk

Hi

The text on the homepage rotating testimonial slider on my clients site, populated from blog entries, is cutting off slightly on the right hand side - there are 10 testimonials and it starts to happen on the last couple, like it's creeping over to the right slightly on each one. Looks fine on desktop. Can anyone suggest why and which bit of my coding is wrong!

Thank you!

Here is the complete coding for the slider:

/*TESTIMONIAL SLIDER - landing page*/
.sqs-gallery-design-carousel .sqs-gallery-controls .next,
.sqs-gallery-design-carousel .sqs-gallery-controls .previous {
 display: block;
 float: right;
 position: relative;
 top: auto;
 left: -15px;
 right: 15px;
 bottom: auto;
 margin: 0 0 15px 0;
 padding: 0;
 background-color: transparent;
 color: inherit !important;
 font-size: 16px;
 line-height: 16px;
 cursor: pointer;
}
.sqs-gallery-design-carousel .sqs-gallery-controls .next:before {
 font-family: 'squarespace-ui-font';
 font-style: normal;
 speak: none;
 font-weight: normal;
 -webkit-font-smoothing: antialiased;
 content: "\E003";
 text-align: center;
 display: inline-block;
 vertical-align: middle;
}
.sqs-gallery-design-carousel .sqs-gallery-controls .next:before {
 font-size: 64px;
 width: 64px;
 height: 64px;
 line-height: 64px;
}
.sqs-gallery-design-carousel .sqs-gallery-controls .next:before {
 font-size: 32px;
 width: 16px;
 height: 32px;
 line-height: 32px;
}
.sqs-gallery-design-carousel .sqs-gallery-controls .previous {
 margin-right: 10px;
}
.sqs-gallery-design-carousel .sqs-gallery-controls .previous:before {
 font-family: 'squarespace-ui-font';
 font-style: normal;
 speak: none;
 font-weight: normal;
 -webkit-font-smoothing: antialiased;
 content: "\E000";
 text-align: center;
 display: inline-block;
 vertical-align: middle;
}
.sqs-gallery-design-carousel .sqs-gallery-controls .previous:before {
 font-size: 64px;
 width: 64px;
 height: 64px;
 line-height: 64px;
}
.sqs-gallery-design-carousel .sqs-gallery-controls .previous:before {
 font-size: 32px;
 width: 16px;
 height: 32px;
 line-height: 32px;
}
.summary-carousel-pager .previous {
 position: absolute !important;
 left: -15% !important;
 right: inherit !important;
 top: 45% !important;
}
.summary-carousel-pager .next {
 position: absolute !important;
left: inherit !important;
 right: -15% !important;
 top: 45% !important;
}

.summary-excerpt p {
  font-size: 19px !important;
  line-height: 1.6em !important;
  font-style: italic;
  letter-spacing: 0.13;
  text-align: center !important;
  color: hsl(34, 3%, 54%);
}
.sqs-gallery-design-carousel {
  background: hsl(48, 87%, 92%);
  max-width: 800px;
  max-height: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 40px;
}

/*Reduce Testimonial Slider thumbnail size*/
.summary-thumbnail img {  
  max-width: 15%;
  max-height: 15%;
margin: auto;
 }
.summary-thumbnail-container { 
  pointer-events: none !important; 
}
@media screen and (max-width: 767px) {
 .sqs-gallery-design-carousel {
    max-height: 570px;
   min-width: 300px;
  }}
@media screen and (max-width: 767px) {
 .summary-excerpt p {
   padding-left: 0px!important;
padding-right: 20px !important;
   position: relative !important;
   overflow: visible;
   text-align: center !important;
  }}
@media screen and (max-width: 767px) {
 .summary-heading h2 {
   text-align: center !important;
  }}

@media screen and (max-width: 767px) {
.summary-carousel-pager .previous {
 position: relative !important;
 left: -15% !important;
 right: inherit !important;
 top: 25% !important;
}
.summary-carousel-pager .next {
 position: relative !important;
left: inherit !important;
 right: 15% !important;
 top: 25% !important;
  }}

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.