Jump to content

Looking to shrink size of mini gallery blocks on mobile

Recommended Posts

  • Replies 26
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

On 8/18/2022 at 10:03 PM, MayaChris said:

Site URL: https://bit.ly/3QAVmGX

Hi there! 

I'm looking to shrink these mini gallery slide show blocks on my home page. The logos are way too big on mobile. First time poster, long time viewer here haha. Hope someone might be able to help me out here. I've seen many of your responses @tuanphan, if you're around would love your support. Thank you all!
 

Screenshot 2022-08-18 110041.png

Screenshot 2022-08-18 110131.png

Hi,

Place 2 - 3 images/row or make image smaller?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 8/19/2022 at 11:01 PM, tuanphan said:

Hi,

Place 2 - 3 images/row or make image smaller?

Hi there! 

Thank you for your response. The first image is how it looks on the desktop version and the second image is how it looks on mobile. I would like to be able to make the images smaller on mobile. Right now, I'm having a hard time isolating the image blocks and i believe because they are currently set as mini gallery/ slideshow blocks. Thank you again @tuanphan!

Link to comment
On 8/23/2022 at 7:38 AM, MayaChris said:

Hi there! 

Thank you for your response. The first image is how it looks on the desktop version and the second image is how it looks on mobile. I would like to be able to make the images smaller on mobile. Right now, I'm having a hard time isolating the image blocks and i believe because they are currently set as mini gallery/ slideshow blocks. Thank you again @tuanphan!

Add to Design > Custom CSS

@media screen and (max-width:640px) {
section#corportateclients img {
    transform: scale(0.5);
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 8/24/2022 at 10:37 PM, MayaChris said:

Hi @tuanphan

Is there anyway to shrink the space/padding between the icons? Thank you so much!

Attached is the before and after screenshots.

Screen Shot 2022-08-24 at 11.29.55 AM.png

Screen Shot 2022-08-24 at 11.30.03 AM.png

Can you disable temporarily auto-change image feature?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 9/1/2022 at 12:39 AM, MayaChris said:

I was hoping to keep the slideshow effect with so many logos to present. Is that the only way to go about changing the spacing between each logo on mobile? Thank you!

Hi. Disable it temporarily, difficult to check the code when it is enabled. If I find code, you can enable then.

If the site is live & you can't disable it, you can duplicate the page & share duplicated page url.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Try adding to Design > Custom CSS

@media screen and (max-width:640px) {
div#page-631665f4e666f56ecfca65c5 .span-2 {
    width: 50% !important;
    float: left !important;
}
div#page-631665f4e666f56ecfca65c5 .span-2:nth-child(2n+1) {
    clear: left !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 9/7/2022 at 6:42 PM, tuanphan said:

@tuanphanI added it to the copied page, and it adjusted the icons properly. However, I went ahead and added the code back to the logo section on the home page, using the section id "#corporatelogos" to replace "div#page-6316654e..."  in the code you provided to translate the code to the original location but it didn't work. 

Thank you so much for all your help here!

 

 

Try adding to Design > Custom CSS

@media screen and (max-width:640px) {
div#page-631665f4e666f56ecfca65c5 .span-2 {
    width: 50% !important;
    float: left !important;
}
div#page-631665f4e666f56ecfca65c5 .span-2:nth-child(2n+1) {
    clear: left !important;
}
}

 

 

Link to comment
12 hours ago, tuanphan said:

Which exact code did you add after use new id?

I tried both these variations to capture the index page section:

@media screen and (max-width:640px) {
div#corportateclients .span-2 {
    width: 50% !important;
    float: left !important;
}
div#corporateclients .span-2:nth-child(2n+1) {
    clear: left !important;
}
}

 

 

@media screen and (max-width:640px) {
#corporateclients .span-2 {
    width: 50% !important;
    float: left !important;
}
#corporateclients .span-2:nth-child(2n+1) {
    clear: left !important;
}
}
Link to comment
On 9/16/2022 at 10:50 AM, MayaChris said:
I tried both these variations to capture the index page section:

@media screen and (max-width:640px) {
div#corportateclients .span-2 {
    width: 50% !important;
    float: left !important;
}
div#corporateclients .span-2:nth-child(2n+1) {
    clear: left !important;
}
}

 

 

@media screen and (max-width:640px) {
#corporateclients .span-2 {
    width: 50% !important;
    float: left !important;
}
#corporateclients .span-2:nth-child(2n+1) {
    clear: left !important;
}
}

Hi @tuanphan

Do you happen to have any suggestions for another way I should be tagging this section for the code to show up on my home page?

Thank you so much!

Link to comment
12 hours ago, MayaChris said:

Hi @tuanphan

Do you happen to have any suggestions for another way I should be tagging this section for the code to show up on my home page?

Thank you so much!

Did you solve? It looks fine to me now

image.png.0f6ee9273da7c2b0cfb586c88326ade2.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 9/21/2022 at 10:30 PM, MayaChris said:

@tuanphan My screenshot is from the homepage. www.portiaobeng.com.

Try this new code

@media screen and (max-width: 640px) {
    div#page-62fc31bde7c0df6fb40d86af .span-2 {
        width:50% !important;
        float: left !important;
    }

    div#page-62fc31bde7c0df6fb40d86af .span-2:nth-child(2n+1) {
        clear: left !important;
    }
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 9/24/2022 at 12:00 AM, tuanphan said:

Try this new code

@media screen and (max-width: 640px) {
    div#page-62fc31bde7c0df6fb40d86af .span-2 {
        width:50% !important;
        float: left !important;
    }

    div#page-62fc31bde7c0df6fb40d86af .span-2:nth-child(2n+1) {
        clear: left !important;
    }
}

OMG, that did the trick!! Thank you so much for your time, effort, and patience throughout this process.

 

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.