Jump to content

Fix 3 Columns to home page

Recommended Posts

Hi, I would like to fix my home page of projects to 3 columns in any visualization for desktop.

In mobile, it can move to only 1 column.

www.lucasyu.work

 

I've tried different codes from the forum but none have work.
Can someone help me?

Link to comment
  • Replies 1
  • Views 145
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

@media screen and (min-width:901px) {
     div#grid {
        columns: 3;
        column-gap: 0;
        height: auto!important;
        display: block!important;
        padding: 0px;
    }
    div#grid .item {
        height: auto!important;
    }
    div#grid .item {
        position: relative!important;
        transform: none!important;
        width: 100%!important;
        display: block;
        padding: 1.5px!important;
        box-sizing: border-box;
        left: unset !important;
        top: unset !important;
    }

 div#grid img {
        height: 100%!important;
      	width: 100%!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!)

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.