Jump to content

Portfolio Hover Page - Remove Bottom Margin Under Portfolio Items

Recommended Posts

Site URL: https://cowbell-cranberry-p5aw.squarespace.com/classes-2

Site URL: https://cowbell-cranberry-p5aw.squarespace.com/classes-2

Hi, 

I am trying to remove the bottom margin underneath the portfolio items so that the scrolling banner is right underneath the items. 

Here is the code I'm using that created the border in between each item. Thank you for helping me figure this out.

/***CLASSES PAGE - CLASSES BORDER***/
.portfolio-hover-display {
    min-height: unset !important;
    height: 100% !important;
}


.portfolio-hover-item {
  border-top: 1px solid white;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  width: 100%;
  padding-left: 100vw;
  padding-right: 100vw;
  box-sizing: content-box;
}
 

Screen Shot 2022-04-18 at 3.00.34 PM.png

Link to comment

I figured it out! This is the code I used to answer my question, in case anyone else needs this. Thank you anyways.


.portfolio-hover {
    min-height: 0% !important;
}

.portfolio-hover-display {
    min-height: unset !important;
    height: 100% !important;
  padding: 0 !important;
}

.portfolio-hover-item {
    border-top: 1px solid white;
   overflow-x: hidden !important;
  overflow-y: hidden !important;
  width: 100%;
  padding-left: 100vw;
  padding-right: 100vw;
  box-sizing: content-box;
}
 

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.