Jump to content

How can I customize the arrows on the summary carousel block?

Recommended Posts

  • 6 months later...
  • Replies 13
  • Views 19.7k
  • Created
  • Last Reply
  • 8 months later...
Posted

Is there a way to move the arrows closer to the center of the image? I've been playing around with it, but haven't been able to figure it out.

  • 1 year later...
Posted

Sure, this should make it work:


.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;
}

.sqs-block-summary-v2 .summary-heading {
 font-size: 24px;
}

.summary-heading {
 text-align: center !important;
}

.summary-carousel-pager .previous {
   position: absolute !important;
   left: 18px !important;
   right: inherit !important;
}

.summary-header-text{
   position: relative !important;
   padding: 0 !important;
   left: 25px !important;
}


Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

Sure, this should make it work. Did with the help of several sources:


.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;
}

.sqs-block-summary-v2 .summary-heading {
 font-size: 24px;
}

.summary-heading {
 text-align: center !important;
}

.summary-carousel-pager .previous {
   position: absolute !important;
   left: 18px !important;
   right: inherit !important;
}

.summary-header-text{
   position: relative !important;
   padding: 0 !important;
   left: 25px !important;
}


  • 6 months later...
Posted

I replaced the second to last selector with these two. Hope it helps!


 .summary-carousel-pager .previous {
position: absolute !important;
left: 0px !important;
right: inherit !important;
top: 60px !important;

}


 .summary-carousel-pager .next {
position: absolute !important;
left: inherit !important;
right: 0px !important;
top: 60px !important;

}

  • 2 months later...
Posted

I tweaked @lisa_zagari's awesome code so that the arrows are in the vertical center of the image, and overlapping the edges by a little bit. See code & example. Hope this is helpful!


  .summary-carousel-pager .previous {
 position: absolute !important;
 left: 5% !important;
 right: inherit !important;
 top: 45% !important;
}

 .summary-carousel-pager .next {
 position: absolute !important;
left: inherit !important;
 right: 5% !important;
 top: 45% !important;
}


alt text

screen-shot-2018-04-22-at-121243-pm.png.8d6e084e3225aa74abf2bac7cb3dd1c4.png

  • 9 months later...
  • 2 months later...
Posted

@lisa_zagari I am wondering if you could show me some adjustments for mobile. My indicators are on top of the text at 480px. Thanks in advance!

Archived

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

Guest
This topic is now 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.