Jump to content

Reducing space between projects on mobile view

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://lukespindler.com/portfolios

Hi. I'm trying to reduce the space between two projects on my portfolio page when using mobile view. I need these projects to sit side by side. I have already reduced the space on the grid to 5px and I'm happy with the desktop view. When I switch to phone view the two projects spread out again. 

I should mention I have already added some code so that the two projects stay side by side and don't stack when in mobile view. 

Any help would be greatly appreciated. Thanks!

Link to comment
  • Solution
1 hour ago, LarrySpindler said:

Site URL: https://lukespindler.com/portfolios

Hi. I'm trying to reduce the space between two projects on my portfolio page when using mobile view. I need these projects to sit side by side. I have already reduced the space on the grid to 5px and I'm happy with the desktop view. When I switch to phone view the two projects spread out again. 

I should mention I have already added some code so that the two projects stay side by side and don't stack when in mobile view. 

Any help would be greatly appreciated. Thanks!

try

@media only screen and (max-width: 640px) {
	.portfolio-grid-basic .grid-item {
        width: 49%;
    }
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.