Jump to content

Header on my home page isn't fitting to mobile

Recommended Posts

The mobile view from my desktop looks perfect, but when I look at the live site from my actual phone, it doesn't fit. I'd rather not make the image/text any smaller or tighter... any suggestions on how to make this fit on the phone screen?

The original image is 1000px high X 2500px wide.

I've attached a screenshot of what the home page looks like from my phone.

Thanks for any help!

IMG_2859.PNG

Link to comment

Looks like the entire section has only a background image, not actual texts. Even if you reduce the image size, text portion on the image will not fit correctly on mobile view. Between 320px to 460px (standard width of mobiles), text portion on your image will always get cropped. 

 

As a solution, on mobile view, if you could display a version of the background image without text, and then add actual text, it will solve the problem. 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment

You can try something like this code to Design > Custom CSS (or Website > Website Tools > Custom CSS)

/* Mobile resize top image */
@media screen and (max-width:991px) {
[data-section-id="64d7beb12b609319ed79d620"] {
    min-height: unset !important;
}
}

Also, I see your header has no items, so you can use this CSS code to remove burger

.burger-inner {
	visibility: hidden !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
  • 11 months later...

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.