Jump to content

Responsive design CSS code not working well on iPhone 13 mini

Go to solution Solved by Ziggy,

Recommended Posts


I found some code to help shorten the height of the main rotating banner (and its contents - images + text) you can see here: https://www.karibuadventures.com/

In the image I attached it shows how it appears on a iPhone 13 mini. 

This is the CSS I am using:

/* Change scale of image on main homepage banner */
@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="634d520073bf7876f8cb7c7f"] ul {
    min-height: unset !important;
      height: 50vh;

@media screen and (max-width:767px) {
/* Change position of text in main banner image and add shadow to text */
  section[data-section-id="634d520073bf7876f8cb7c7f"] .list-item {
    padding: 10px 150px 30px 30px !important;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.4);
    .slide-content h2 {
font-size: 31px !important;
   font-weight: medium;

Any advice is appreciated!




Link to comment
  • Replies 1
  • Views 574
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
8 minutes ago, m10ki said:

height: 50vh;

The issue is this value that doesn't allow the section to respond to the contents which is why min-height is generally used. If you want a maximum height you will need to ensure that your content is much smaller, and potentially using a responsive value like vw instead of px  for the text.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.