Jump to content

Make banner slideshow gallery size responsive & button to be below.

Recommended Posts

Hi there

I'm trying to make this banner slideshow be in full frame in all browser sizes. I'm currently trying this code:

section[data-section-id="66022228e4d97433a80e56ad"] .slide-media-container img {
  height: clamp(0px, 52.34vw, 50vh) !important;
}

Website here: https://www.jetty.bar/whats-on

 

I also would like the button for the single image to be below the image. 

Current code here
.user-items-list-item-container[data-section-id="66022228e4d97433a80e56ad"] li.slide.list-item {
    justify-content: flex-start !important;
    align-items: flex-end !important;
}

Link to comment
  • Replies 3
  • Views 680
  • Created
  • Last Reply

Top Posters In This Topic

Try this code to Website > Website Tools > Custom CSS

@media screen and (max-width:1024px) {
.user-items-list-item-container[data-section-id="66022228e4d97433a80e56ad"] ul {
    min-height: unset !important;
}
.user-items-list-item-container[data-section-id="66022228e4d97433a80e56ad"] img {
    object-fit: contain !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.