Jump to content

1 column Summary block layout on mobile only

Recommended Posts

Posted

Site URL: https://rumahkeduamedia.com

is it possible to make the layout summary on the desktop remain as it is today, while on the mobile it changes to 1 part because the current summary when opened on mobile is very small and uncomfortable when pressing the arrow, except for the summary  type listexample.thumb.png.5a1533ccc430c076bfa69e59b48e0e0d.png

Posted
10 hours ago, tuanphan said:

Add to Design > Custom CSS > Then save & reload the site

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1652790822955_18965 .summary-item {
    display: flex;
    flex-direction: column;
    width: 100% !important;
}
}

 

hey looks great thanks, but can add margin from read more link  to thumbnail?

 
Posted
On 5/25/2022 at 6:35 PM, yogap said:

hey looks great thanks, but can add margin from read more link  to thumbnail?

 

Use this new code

@media screen and (max-width: 767px) {
    div#block-yui_3_17_2_1_1652790822955_18965 .summary-item {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        margin-bottom: 50px !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!)

  • Susana_SQSP changed the title to 1 column Summary block layout on mobile only
  • 7 months later...
Posted
On 5/25/2022 at 1:29 PM, tuanphan said:

Add to Design > Custom CSS > Then save & reload the site

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1652790822955_18965 .summary-item {
    display: flex;
    flex-direction: column;
    width: 100% !important;
}
}

 

Hey, this piece of code has worked great for me too but I was wondering if it's possible to restrict the summary block on mobile to also be 1 item tall? As opposed to multiple items stacked on top of each other. Thanks!

Posted
On 1/17/2023 at 6:19 AM, KLharvey said:

Hey, this piece of code has worked great for me too but I was wondering if it's possible to restrict the summary block on mobile to also be 1 item tall? As opposed to multiple items stacked on top of each other. Thanks!

You mean show slider with 1 item/row?

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!)

  • 2 months later...
  • 2 weeks later...
Posted
On 4/18/2023 at 4:56 AM, tuanphan said:

Can you share link to page where you use summary? We can check easier

Sorry Tuanphan, I just now saw your reply.

https://www.rowac.com

I disabled the carousel in mobile view so that they're just stacked on top of each other. It would be nice to have the carousel working in mobile with just one product visible at a time.

Posted
On 4/29/2023 at 6:24 PM, deets87 said:

Sorry Tuanphan, I just now saw your reply.

https://www.rowac.com

I disabled the carousel in mobile view so that they're just stacked on top of each other. It would be nice to have the carousel working in mobile with just one product visible at a time.

You mean this?

image.thumb.png.32f8e43a3f777ffd1c221d30acdf2f27.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!)

Posted
7 hours ago, tuanphan said:

You can consider adding 2 Summaries: current with 3 items, bottom with 1 item/row, we can give code to show 3 on desktop, show 1 on mobile

Hi Tuanphan, thanks, that sounds good.

  • 4 months later...
Posted
On 9/29/2023 at 5:49 PM, dome23 said:

Hi all, 
I have tried applying the CSS code but for some reason, it won't apply. Could there be a CSS conflict? https://www.klimabevaegelsen.dk/

Use this code then save & reload the page

@media screen and (max-width: 767px) {
    div#block-644a36011b316793a47bd3c3 .summary-item {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        margin-bottom: 50px !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!)

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.