Jump to content

Images side by side on mobile

Go to solution Solved by TOMweb,

Recommended Posts

On 10/18/2021 at 8:45 AM, tuanphan said:

Can you describe again the problem? Thank you

Add to Design > Custom CSS

@media screen and (max-width:767px) {
div#page-section-60a16b3a6bbf946c5d043b2e .span-5 .span-4 .span-2 {
    width: 50% !important;
    float: left !important;
}
}

@s7udiostars

@media screen and (max-width:1024px) and (min-width:768px) {
/* image 123 */
div#block-yui_3_17_2_1_1626345508961_40873+.row .image-title * {
    font-size: 20px;
}
/* image 456
div#page-section-6058d2ded607a06ccc5e14c8 .image-title * {
    font-size: 20px !important;
}
/* image 789 */
div#page-section-605906607b4d59585583ac12 .image-title * {
    font-size: 20px;
}
}

 

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
56 minutes ago, tuanphan said:

Add to Design > Custom CSS

@media screen and (max-width:767px) {
div#page-section-60a16b3a6bbf946c5d043b2e .span-5 .span-4 .span-2 {
    width: 50% !important;
    float: left !important;
}
}

@s7udiostars

@media screen and (max-width:1024px) and (min-width:768px) {
/* image 123 */
div#block-yui_3_17_2_1_1626345508961_40873+.row .image-title * {
    font-size: 20px;
}
/* image 456
div#page-section-6058d2ded607a06ccc5e14c8 .image-title * {
    font-size: 20px !important;
}
/* image 789 */
div#page-section-605906607b4d59585583ac12 .image-title * {
    font-size: 20px;
}
}

 

@tuanphan just tried 🙂

Skærmbillede 2021-10-21 kl. 17.36.27.png

Link to comment
On 9/19/2021 at 7:11 PM, s7udiostars said:

Hi there! that would be amazing, thank you i appriciate it a lot!
i actually first now have been able to find this again, as i wanted to ask you about those things :)

The table looks fine here.

https://www.s7udiostars.com/

image.thumb.png.8e5a39db3fe9ef7aa837538876696859.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/20/2021 at 2:50 PM, tuanphan said:

#1. Add to Design > Custom CSS. If it works, I will continue checking other problems

/* Mobile center footer */
@media screen and (max-width:767px) {
footer.sections * {
    text-align: center !important;
}
}

 

@tuanphan i was here i reffered to 🙂
i belive we are at this step "
5. (Mobile-Products) Change related products to 2 items/row"

Link to comment
On 10/31/2021 at 8:51 PM, s7udiostars said:

@tuanphan i was here i reffered to 🙂
i belive we are at this step "
5. (Mobile-Products) Change related products to 2 items/row"

Add to Design > Custom CSS

/* Mobile Related Products */
@media screen and (max-width:767px) {
.ProductItem-relatedProducts.ProductList .list-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 10px;
}
}

 

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 11/2/2021 at 9:18 AM, tuanphan said:

Add to Design > Custom CSS

/* Mobile Related Products */
@media screen and (max-width:767px) {
.ProductItem-relatedProducts.ProductList .list-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 10px;
}
}

 

Hey @tuanphan would you be able to make our (mobile) product on a row of 3 or 4 instead of one?
thank you 🙂

Link to comment
On 11/12/2021 at 2:39 AM, s7udiostars said:

Find this code and change number 2 to 3

@media screen and (max-width: 767px) {
    .products.collection-content-wrapper .list-grid {
        display:grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-column-gap: 10px;
    }
}

 

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 11/20/2021 at 2:12 AM, ajgorkin said:

Hi! I'm having a similar problem. My home page looks great on desktop but I'd love to have the images on the homepage in columns of 2 and a lot smaller to attempt to emulate the desktop version. website below!

 

Thanks in advance!

https://www.andreworkinmusic.com/

Add to Design > Custom CSS

@media screen and (max-width:640px) {
div#page-6183cf0a1e84e05f87639de9 .image-block {
    width: 50% !important;
    float: left !important;
    padding: 0 !important;
    clear: none !important;
}
div#page-6183cf0a1e84e05f87639de9 .image-block: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 11/20/2021 at 9:47 PM, tuanphan said:

Add to Design > Custom CSS

@media screen and (max-width:640px) {
div#page-6183cf0a1e84e05f87639de9 .image-block {
    width: 50% !important;
    float: left !important;
    padding: 0 !important;
    clear: none !important;
}
div#page-6183cf0a1e84e05f87639de9 .image-block:nth-child(2n+1) {
    clear: left !important;
}
}

 

Hi, I'd like to put 2 inline images side by side on mobile view what code can I use for this? I have attached two pictures for reference.

 

Screen Shot 2021-11-24 at 4.42.12 AM.png

Screen Shot 2021-11-24 at 4.42.36 AM.png

Link to comment
  • 2 weeks later...
On 12/9/2021 at 2:26 PM, Sherman said:

hi @tuanphan,

i have a similiar issue.

Domain: www.layers.squarespace.com

Password: Layers

i have a few company logos at the bottom of the homepage that i want to change from one to two images per row. Attached the image below.

Appreciate the help! thank you.

 

Regards,
Sherman

 

Screenshot 2021-12-09 at 3.23.53 PM.png

Because these are blank, so very complex to change to 2 items/row

Can you add 3 colored image here? Then we can solve problem easier (we can use code to hide these colored image if you want)

image.thumb.png.f64ae2a47a898426a4b457373a5cede8.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

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.