Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Hidding a sections/image blocks between mobile and computer browser


CHWOON

Question

Site URL: https://www.chwoon.me/footwear

password: chwooned

 

Hello, I would like the index images to change depending on device: mobile or web browser.

I have tried using ccs to hide the lower index on browser and show on mobile using:

section #yui_3_17_2_1_1607780601651_292{
  display: none !important;
}

@media only screen and (max-width: 640px) {
section #yui_3_17_2_1_1607780601651_292{
    display: block !important;
  }
}

and:

div#yui_3_17_2_1_1607780601651_292{
  display: none !important;
}

@media only screen and (max-width: 640px) {
div#yui_3_17_2_1_1607780601651_292{
    display: block !important;
  }
}

But no luck.

 

Any help or advice would be greatly appreciated!

Thank you

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

Site URL: https://www.chwoon.me/footwear password: chwooned   Hello, I would like the index images to change depending on device: mobile or web browser. I have tried using ccs to hide

I suggest using this extension to get the id of the section/block Squarespace ID Finder - Chrome Web Store (google.com)

YESSS, it worked. Such a great tool!!! Thank you so much All the best 😀

Posted Images

2 answers to this question

Recommended Posts

  • 0
1 hour ago, CHWOON said:

Site URL: https://www.chwoon.me/footwear

password: chwooned

 

Hello, I would like the index images to change depending on device: mobile or web browser.

I have tried using ccs to hide the lower index on browser and show on mobile using:

section #yui_3_17_2_1_1607780601651_292{
  display: none !important;
}

@media only screen and (max-width: 640px) {
section #yui_3_17_2_1_1607780601651_292{
    display: block !important;
  }
}

and:

div#yui_3_17_2_1_1607780601651_292{
  display: none !important;
}

@media only screen and (max-width: 640px) {
div#yui_3_17_2_1_1607780601651_292{
    display: block !important;
  }
}

But no luck.

 

Any help or advice would be greatly appreciated!

Thank you

I suggest using this extension to get the id of the section/block

Squarespace ID Finder - Chrome Web Store (google.com)image.thumb.png.2270e8a15452e96c6295c60d301ab78e.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement, Enable Pinch/Zoom on lightboxGeolocation Automatic Currency Converter, Sortable Table from GSheet
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...