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

7.1 Image Collection Resize On Mobile


robertwyatt

Question

Site URL: https://www.endofanear.com

Good evening!

I'm having trouble with the CSS for this one.  I'm trying to adjust the size of these images + buttons on mobile - they're just too big, each filling the width of the entire screen. So, I'd prefer them to to sit in rows of three, similar to how they sit in rows of six on desktop.

Here's are images to better communicate what I'd like, the desktop view  vs the preferred mobile view :

 

DESKTOP VIEW             VS        MOBILE VIEW

 

Would this be possible? If so, can someone help me out with the CSS?

PAGE: https://www.endofanear.com/web-store

Thank you!

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

4 answers to this question

Recommended Posts

  • 0

I don't see them on homepage. Can you share link to exact page?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
div#page-section-5ecc120f5e861630fffa13d8 {
.span-12>.row:nth-child(4) .span-2, .span-12>.row:nth-child(5) .span-2 {
    width: 33.33% !important;
    float: left !important;
}
.span-12>.row:nth-child(4) .span-2:nth-child(2n+1), .span-12>.row:nth-child(5) .span-2:nth-child(2n+1) {
	clear: left;
}
.span-12>.row:nth-child(4) .span-2 *, .span-12>.row:nth-child(5) .span-2 * {
    font-size: 10px;
}
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0

Ah thank you very much, this looks very nice - but I'm sorry, though, I should've have been exactly specific about what I wanted haha.

I would like that multi-column effect for all of the images on the page, not just the last 12 images. The screenshots in my OP were just to show the idea.

Could this be done for the rest of the images on /web-store as well as the images on the front page this time, too?

I'm sorry again for the inconvenience,

Thanks

 

Edited by robertwyatt
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...