Like many websites, mine has skyscraper ads of which are ideally designed for viewing on a full screen browser but do not work well for mobile use. I have seen code that would allow single images to be responsive in that a skyscraper (160x600) can be replaced by a square (250x250) advertisement when the browser window reaches a certain minimum/maximum width. Is there such a code that can be done with galleries on Squarespace?
For example - I want to have a slideshow gallery of rotating skyscraper ads display on browser screens over 750 px wide. Where anything narrower, I want to have a slideshow gallery of rotatng square ads shown in the same place. Thus optimizing mobile viewing.
Hi @briang97603. This is achievable via either JavaScript or CSS.
Option 1: JavaScript .This would be more complicated and would require swapping src attributes and other attributes in order to m
Question
briang97603 0
Hello guys
Like many websites, mine has skyscraper ads of which are ideally designed for viewing on a full screen browser but do not work well for mobile use. I have seen code that would allow single images to be responsive in that a skyscraper (160x600) can be replaced by a square (250x250) advertisement when the browser window reaches a certain minimum/maximum width. Is there such a code that can be done with galleries on Squarespace?
For example - I want to have a slideshow gallery of rotating skyscraper ads display on browser screens over 750 px wide. Where anything narrower, I want to have a slideshow gallery of rotatng square ads shown in the same place. Thus optimizing mobile viewing.
Link to post
Top Posters For This Question
3
2
Popular Days
Nov 12
1
Nov 1
1
Nov 2
1
Nov 7
1
Top Posters For This Question
briang97603 3 posts
brandon 2 posts
Popular Days
Nov 12 2019
1 post
Nov 1 2019
1 post
Nov 2 2019
1 post
Nov 7 2019
1 post
Popular Posts
brandon
Hi @briang97603. This is achievable via either JavaScript or CSS. Option 1: JavaScript .This would be more complicated and would require swapping src attributes and other attributes in order to m
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment