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

two columns on mobile instead of stacking issue


UglyBich

Question

Hi all. I'm trying to get my gallery grid block to show two columns on mobile instead of stacking. I've used the CSS below to accomplish it but the grid is not aligning correctly on mobile wit the third item being bumped and white space in its place- screenshot attached (On tablet and desktop view it's also two columns wide but doesn't have the same issue). The page is here: https://ugly.wtf/new-page-1

I'm able to correct the problem using white-space: nowrap; but then my text obviously doesn't wrap as needed. 

Any help would be much appreciated. I'm very inexperienced with CSS. 

Thanks in advance,

<style>
@media only screen and (max-width: 640px)
{.sqs-block-summary-v2 .summary-item {
  	clear: none !important;
    width: calc(100%/2)!important;
  	padding: 2px !important;
  }
  }
</style>

 

Screen Shot 2019-11-24 at 10.38.07 AM.png

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

1 answer 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...