Jump to content

Events Page (Main) List - Two Columns?

Recommended Posts

Site URL: http://www.healinghartwellness.com/upcoming

I am trying to make the main Events page 2 columns since it looks heavy on the left-side and ugly, but I'm struggling with the specific code to use for Custom CSS. I know that the  code "p{column-count: 2; column-gap: 10%}" applies it to the whole site but I am looking for what to write prior to that. I have tried the .collection-type-events.view-list but that didn't seem to work. What am I doing wrong?

Link to comment
  • Replies 1
  • Views 1.3k
  • Created
  • Last Reply

Add to Home > design > Custom CSS

@media screen and (min-width:768px) {
.eventlist--upcoming {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.eventlist-event {
    margin-top: 0;
    margin-bottom: 68px;
}
}

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.