Jump to content

Edit the homepage banner to look the same on mobile view

Go to solution Solved by paul2009,

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

21 hours ago, meghan_dubose said:

I am wanting to make the banner image on my homepage the same view on mobile.

If you showed the image at full width it wouldn't be tall enough to accomodate the overlay elements (heading, subheading, paragraphs and CTA button), pushing them below the image (see below) so you'd need to remove some of them.

image.thumb.png.023fc54062502d487b9cc8f087a9413a.png

 

However, if you are happy to compromise on the width of the image (perhaps 2/3rds) and remove one of the paragraph elements, you could use some CSS to adjust the image height to allow the other elements to fit. Something like this:

image.thumb.png.93cfff76b36948a824e6e2c8fa1cbb0f.png

Did this help? Please give feedback by clicking an icon below  ⬇️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
  • Solution
1 hour ago, meghan_dubose said:

I would be happy with the second screenshot that you shared of 2/3 of the photo. Would you be able to help me with the CSS code to do that?

Sure. Add something like this to Custom CSS:

@media only screen and (max-width: 768px) {
.collection-type-index.first-index-image-fullscreen .title-desc-wrapper.has-main-image.first {
    min-height: 46vh;
  }
  .collection-type-index.first-index-image-fullscreen #parallax-images .image-container {
    top: 120px;
    width: 100%;
    height: 46vh;
  }
}

Let me know how you get on.

Did this help? Please give feedback by clicking an icon below  ⬇️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

You currently have some invalid text in your Custom CSS panel. Please delete that and try again. If you experience any issues, please leave the CSS in place and I'll take a look for you 🙂

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.