Jump to content

[Share] Seperate scrolling block on desktop – mobile

Recommended Posts

To create a separate scrolling block on desktop, mobile, you can follow these.

#1. First, add 2 Scrolling Blocks

image.thumb.png.b91c5a739207bb2ddb371e01254bf891.png

#2. Next, find ID of 2 Scrolling Blocks

In my example, we have: 

image.png.a9b54082fab6b7108d7fe246edcd4c7b.png

#3. Use this code to Website Tools > Custom CSS to

  • show top Scrolling Block on Desktop
  • show second Scrolling Block on Mobile
/* Hide top scroll block on Mobile - Show on Desktop Only */
@media screen and (max-width:767px) {
  #block-yui_3_17_2_1_1724123780363_13893 {
 	 display: none;
  }
}
/* Hide second scroll block on Desktop - Show on Mobile Only */
@media screen and (min-width:768px) {
  #block-yui_3_17_2_1_1724123780363_14330 {
 	 display: none;
  }
}

image.png.d499087aba097a6b7975f3e834733cd8.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
  • Replies 0
  • Views 204
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.