Jump to content

Header height on phone

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://www.newweather.se/hem1

Hi, I'm using the Pacific template and have a thin banner image on top where the navigation is displayed in desktop mode. However, when I switch to phone mode the image becomes full height, cropping the edges instead of the height. I would like to make it smaller also on the phone, or just taking it away on the phone. I've searched a lot on this and found some tips, but nothing seems to work.

Can anyone help me?

Password is: 1719

Skärmavbild 2021-02-26 kl. 14.42.30.png

Skärmavbild 2021-02-26 kl. 14.42.10.png

Link to comment
39 minutes ago, brandahemman said:

Site URL: https://www.newweather.se/hem1

Hi, I'm using the Pacific template and have a thin banner image on top where the navigation is displayed in desktop mode. However, when I switch to phone mode the image becomes full height, cropping the edges instead of the height. I would like to make it smaller also on the phone, or just taking it away on the phone. I've searched a lot on this and found some tips, but nothing seems to work.

Can anyone help me?

Password is: 1719

Skärmavbild 2021-02-26 kl. 14.42.30.png

Skärmavbild 2021-02-26 kl. 14.42.10.png

Could you try to reduce padding of banner

@media only screen and (max-width: 640px)
.banner-thumbnail-wrapper {
    padding: 10px 0;
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
29 minutes ago, bangank36 said:

Could you try to reduce padding of banner


@media only screen and (max-width: 640px)
.banner-thumbnail-wrapper {
    padding: 10px 0;
}

 

You're a wizzard! I found the problem, a missing ";" after 640px). Now it works great! Thanks a lot!

@media only screen and (max-width: 640px); .banner-thumbnail-wrapper { padding: 10px 0; }

Link to comment
  • Solution
9 hours ago, brandahemman said:

Ooops, I was a bit too quick. It works great as long as I hace the CSS open. When I switch to pages it goes back again.

Try

@media only screen and (max-width: 640px) {
.banner-thumbnail-wrapper {
    padding: 10px 0;
}}

It's a typo when copy

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.