Jump to content

How to make image stick to bottom on mobile homepage

Recommended Posts

  • Replies 1
  • Views 161
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 8/18/2021 at 7:35 AM, leyrose said:

Site URL: https://conscious.org.au

Hi there,

I'm wanting to stick the homepage image to the bottom of the page only on mobile. I've managed to resize it to fit but no luck with alignment.

https://conscious.org.au

Thanks so much in advance.

Hi,

Add to Design > Custom CSS > Then save & reload the site

@media screen and (max-width:640px) {
div#fullscreenBrowser {
    position: fixed !important;
    bottom: 0;
    left: 0 !important;
}
div#fullscreenBrowser img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 70vh !important;
}
}

 

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

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.