Jump to content

Code block alignment and mobile stacking

Recommended Posts

I'm working on this page (www.meridianacademy.org/who-we-are-new) and have a series of code blocks. Two issues I'm struggling with:

  1. How do I keep each code block in a row aligned in that row? Right now, the blocks are askew within a row (seemingly referencing a column).
  2. When they stack in a mobile view, I'd like them to stack by items in a row (keeping names alphabetized). Is this possible?

Thanks!

Link to comment
  • Replies 4
  • Created
  • Last Reply

@nsmargolis Add to Home > Design > Custom CSS


/* Desktop */
@media screen and (min-width:901px) {
p.school {
   min-height: 65px;
}
}
/* Tablet */
@media screen and (min-width:641px) and (max-width:900px) {
p.school {
   min-height: 140px;
}
}


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.