Jump to content

Bottom border not showing up on gallery carousel images - what duh heck!?

Recommended Posts

Site URL: http://www.unionparlor.com

Hello! I'm not sure what I'm doing wrong with the css for adding a border around the the entire image within the carousel. The top, right/left work just fine but the bottom border doesn't show up. Additionally, is there any way to make this carousel block span the entire width of the website?

www.unionparlor.com
pass=  hair

 

Thanks homies!!!!

Link to comment
  • Replies 6
  • Views 525
  • Created
  • Last Reply

Top Posters In This Topic

Replace, make a copy somewhere, your code for this effect with the following.

// uses LESS syntax

.sqs-gallery-design-strip-slide {

  --border-width : 5px;
  
  border : var( --border-width ) solid black;
  border-left-width : calc( ~"var( --border-width ) / 2 + 0.1" );
  border-right-width : calc( ~"var( --border-width ) / 2" );
  box-sizing : border-box;
  
  }

.sqs-gallery-design-strip-slide:first-child {

  border-left-width : var( --border-width );
  
  }

.sqs-gallery-design-strip-slide:last-child {

  border-right-width : var( --border-width );
  
  }

This is for v7.0.

1756752874_ScreenShot2022-05-04at3_52_38PM.thumb.png.f0f08de1d16d3789c97024d938492395.png

Let us know how it goes.

Edited by creedon
version 2

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

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.