Jump to content

How can I have my portfolio pages as 1 column instead of two, is their a custom code for this? Thank you!

Recommended Posts

  • Replies 5
  • Views 644
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

1 hour ago, SelwynGoodman said:

Site URL: https://selwyngoodman.co

How can I have my portfolio pages as 1 column instead of two, is their any way I can do this, possibly with a custom code? Thank you! 

You can try adding to Home > Design > Custom Css

section[data-section-id="62c898ddbdd30f1f03477514"] .portfolio-grid-overlay {
  grid-template-columns: 1fr;
}

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment

You can use the following code to set style only for desktop

@media only screen and (min-width: 768px) {
  section[data-section-id="62c898ddbdd30f1f03477514"] .portfolio-grid-overlay {
    grid-template-columns: 1fr;
  }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment

Using the following code to apply for the grid: simple layout

/*1 column for portfolio grid simple layout*/
section[data-section-id="62c898ddbdd30f1f03477514"] .portfolio-grid-basic.grid-wrapper {
  grid-template-columns: 1fr;
}

/*left align for the portfolio text on grid simple layout with mobile display*/
@media only screen and (max-width: 767px) {
  section[data-section-id="62c898ddbdd30f1f03477514"] .portfolio-grid-basic.grid-wrapper .portfolio-text {
    text-align: left;
  }
}

Support me by pressing 👍 if this useful for you

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates)

If you find my answer useful, 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.