Jump to content

On mobile, footer is cut-off

Go to solution Solved by Square_Ace,

Recommended Posts

Posted

Site URL: https://www.thelosangeleseffect.com/

Hello,

I am trying to figure out how to make sure my footer is aligned to the bottom of the browser window on mobile. Currently, it is cut-off by the control panel on both Chrome & Safari. 

I would like all elements to stay within the viewable window size and make sure there is never a scroll option on this page.

On desktop, it appears correctly. 

IMG_5348.PNG

Screenshot 2024-10-15 at 12.00.45 PM.jpg

  • Solution
Posted

Hi you need to use 100svh like this:

#siteWrapper {
    display: flex;
    flex-direction: column;
    min-height: ~'100svh';
}

 

Square Ace

Enhancing Squarespace websites for over a decade. I am an expert in writing custom code for the Squarespace platform.
Tailor-made, reusable solutions to your problems, whether it's styling, layout or functionality.
Maverick Squarespace Designers, I'll be your Goose. If your tools are holding back your creative vision, maybe I can help.
I also build useful plugins for Squarespace (with some really positive reviews) including the popular high-quality video background plugin.

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.