Jump to content

Changing landing page on mobile/tablets only.

Recommended Posts


Thanks to @tuanphan I have a very beautiful split screen landing page on my current project, created with the page header injection code:

header#header, footer.sections {
    display: none !important;
section {
    width: 50% !important;
    float: left !important;
    height: 100vh !important;
    min-height: unset !important;
  .sqs-gallery-design-stacked {height:100vh !important;}
.content-wrapper {
    padding: 0px !important;
  .gallery-block {
    padding: 0px !important;
body {
    overflow-x: hidden !important;
   overflow-y: hidden !important;
  img.tp-img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999;
    max-width: 250px;

What I would like to do now is make it so that, on tablet and mobile, rather than being side by side, the two gallery slideshows are stacked, with the logo in the middle (but smaller, of course!), and with the white text still visible... Is there a way to do this, or do I need to code it so that this code only applies to sizes larger than tablet?

To have a look at the site, the code is 'pineapple'.

Thanks so much 🙂


Link to comment
  • Replies 5
  • Views 409
  • Created
  • Last Reply

Top Posters In This Topic

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.