Jump to content

How to decrease padding above stacked hover layout for portfolio in mobile

Recommended Posts

Posted (edited)

https://www.lizetteperez.com/otherprojects
I have a stacked hover layout on my portfolio pages that looks weird on mobile because of all the space on top. 

Is there a way to decrease the padding?

I wish it would adjust the space accordingly because on a different page where I have more items listed this doesn't seem to happen.

IMG_3232.PNG

IMG_3234.jpg

Edited by lizp09
Added URL
  • Replies 3
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

Posted
On 4/4/2024 at 4:11 AM, lizp09 said:

I added the link in the description. Thanks!

You can use this code to Website > Website Tools > Custom CSS

@media screen and (max-width:767px) {
.portfolio-hover-items {
    justify-content: flex-start !important;
}
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.