jmerrill Posted May 6 Share Posted May 6 I was provided the code below in order to better align grid layouts and edit titles for desktop layout. It would great on desktop! On mobile though, it tries to format the grid into 2 columns. Is there some css to make it a single column layout on mobile? // Basic Grid Blog // .blog-basic-grid .blog-excerpt { font-family: Helvetica; font-weight: 700; font-size: 18px !important; color: white; line-height: 1.5rem } @media screen and (min-width:768px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { padding-top: 32px; grid-column-gap: 72px; padding-left: 0vw; padding-right: 0vw; } } @media screen and (max-width:767px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { display: grid !important; grid-template-columns: repeat(2,1fr) !important; } } Link to comment
Solution tuanphan Posted May 8 Solution Share Posted May 8 You can change number 2 in last code to 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment