Jump to content

Make text columns responsive for tablet on 7.0 site

Recommended Posts

  • Replies 3
  • Views 371
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add to Design > Custom CSS

/* tablet */
@media screen and (max-width:900px) and (min-width:641px) {
/* services */
section#services-pricing .span-8 {
    width: 100% !important;
}
section#services-pricing .span-8 .spacer-block {
    display: none;
}
/* Location */
div#block-e8127e97dcc62b666625+.row+.row {
& {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.span-2:nth-child(n+2):not(:last-child) {
    width: 35%;
}
.span-2:first-child, .span-2:last-child {
    display: none;
}}}

 

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
On 1/8/2022 at 2:20 PM, christinedevs said:

@tuanphan Thank you, that's a huge improvement!! 

On the Services page, is there a way to now make the columns centered? OR if not, to force them to stack?

On the Contact Us page, it appears half of the locations no longer show up. Is there a way to make those show up again? 3 columns would be fine.

Thank you!

 

IMG_2225 2.PNG

IMG_2224.PNG

You can change 35% to 50%

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.