Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1

Side by side code blocks on mobile



Hi Community,

I am trying to have side by side code blocks (2 per row) on mobile. 

I currently have 8 code blocks displaying as 2 rows of 4 on desktop. When switching to mobile view, these blocks stack on top of each other so that it displays as 1 block per row. I have tried targeting various elements like the content wrapper and .sqs-col-12 .sqs-col-4 columns like this to no avail:

@media screen and (max-width: 640px){ [data-section-id=""]{.sqs-col-12 .sqs-col-4{
  width: calc(100%/2) !important;
  border: 0 !important;
  margin: 0 !important;

Any help would be greatly appreciated!

Link to post
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Thanks @RyanDejaegher but I managed to solve this eventually!  All the best

5 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...