Jump to content

Change aspect ratio Index Gallery Slideshow mobile view

Recommended Posts

  • Replies 3
  • Views 377
  • Created
  • Last Reply

Top Posters In This Topic

On 9/21/2021 at 4:01 PM, tibellus said:

Site URL: https://www.earandeye.se/

Hi! How can I change aspect ratio on mobile view (max 640 px) for Index Gallery Slideshow? It's on the Home-page.

Thank you!

Try adding to Design > Custom CSS

@media screen and (max-width:640px) {
body.homepage figure img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 0 !important;
}
body.homepage section.Index-page {
    min-height: unset !important;
    height: 250px !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
On 9/25/2021 at 3:37 PM, tibellus said:

Hi and thank you for answering. Unfortunately it didn't work as I wanted to. It changed the banner for the top section, but I want it to change the Gallery Slideshow that is the second section of the home page... 🙂

Remove above & add this to Design > Custom CSS

@media screen and (max-width:767px) {
section#recent-work .Index-gallery-item:after, section#recent-work .Index-gallery-wrapper:after {
    padding-bottom: 100% !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.