Jump to content

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

Recommended Posts

  • 6 months later...
  • Replies 13
  • Created
  • Last Reply
  • 8 months later...
  • 1 year later...

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


About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

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


Link to comment
  • 6 months later...

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;

}

Link to comment
  • 2 months later...

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

Link to comment
  • 9 months later...
  • 2 months later...

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.