Jump to content

Two text blocks side by side on mobile

Recommended Posts

Site URL: https://www.jesselunadesign.com/pass-the-torch

Hello, I have a set of text blocks that I would like to remain side by side on mobile. I have applied the following code and it worked for one page, however I have a similar set up on multiple pages. I tried copying the code and inserting the IDs for the other pages however it has not worked.

 

/* buttons side by side: The True Cost Of */
@media screen and (max-width:767px) {

div#page-section-624e6961d893c457d42dff50>.row>.span-12>.row>.span-6 {
    width: 50% !important;
    float: left !important;
}
}

Mobile CSS Issue_01.jpg

Mobile CSS Issue_02.jpg

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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

SOLVED

I slightly changed the code and it worked on all pages. 

@media screen and (max-width:767px) {
div#page-section-624f262ca77f450888427733>.row>.span-6 {
    width: 50% !important;
    float: left !important;
}
}

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.