Jump to content

reduce portfolio grid overlay size

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 7/29/2021 at 2:18 PM, vanessadesign said:

Site URL: https://www.vanessastpier.com/motion

Hey there 🙂

I'm hoping to achieve an effect where the black overlay I currently have over my portfolio images, is slightly smaller than the size of the image itself (like 70% of the OG size.)  The image attached below is an example of someone who has achieved the look I'm after! Any ideas for code I can use? Thanks!

Screen Shot 2021-07-29 at 5.16.35 pm.png

Add to Design > Custom CSS

/* Portfolio overlay smaller */
.portfolio-overlay {
    left: 10% !important;
    right: 10% !important;
    top: 10% !important;
    bottom: 10% !important;
    width: 80% !important;
    height: 80% !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.