Jump to content

How to stack blocks in tablet view like mobile view

Recommended Posts

This is a bit of a new one for me, Fluid engine requires a different way of doing this, can you add this to your Custom CSS and let me know how this looks on tablet screens (i.e. between 999px and 768px):

@media screen (min-width:768px) and (max-width:999px) {
  .fe-block-ac891789c5e3492edea1 {
    grid-area: 1/2/12/26 !important;
  } 
  .fe-block-yui_3_17_2_1_1668550060589_15027 {
      grid-area: 13/2/18/26 !important;
  }
}

Let me know how this goes!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment
8 hours ago, Ziggy said:

This is a bit of a new one for me, Fluid engine requires a different way of doing this, can you add this to your Custom CSS and let me know how this looks on tablet screens (i.e. between 999px and 768px):

@media screen (min-width:768px) and (max-width:999px) {
  .fe-block-ac891789c5e3492edea1 {
    grid-area: 1/2/12/26 !important;
  } 
  .fe-block-yui_3_17_2_1_1668550060589_15027 {
      grid-area: 13/2/18/26 !important;
  }
}

Let me know how this goes!

Hi! thank you so much for your effort! unfortunately I did not see any difference yet.

Link to comment
  • 4 months later...
On 12/8/2022 at 11:41 AM, Illusterre said:

Hi! thank you so much for your effort! unfortunately I did not see any difference yet.

Try updating the formatting of your "grid-area" settings as follows:

    grid-area: ~"1/2/12/26";

So the full code would be:

@media screen (min-width:768px) and (max-width:999px) {
  .fe-block-ac891789c5e3492edea1 {
    grid-area: ~"1/2/12/26";
  } 
  .fe-block-yui_3_17_2_1_1668550060589_15027 {
      grid-area: ~"13/2/18/26";
  }
}

Let us know if that works!

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.