courtneyhart Posted September 19, 2020 Share Posted September 19, 2020 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
tuanphan Posted September 21, 2020 Share Posted September 21, 2020 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.