Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Header height on phone


brandahemman
Go to solution Solved by bangank36,

Question

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 post
  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular 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 mod

Could you try to reduce padding of banner @media only screen and (max-width: 640px) .banner-thumbnail-wrapper { padding: 10px 0; }  

Apparently there's a syntax error in the code

Posted Images

7 answers to this question

Recommended Posts

  • 0
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 BaNgan from 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, 360 Degree Photo block, Seperator Block (SVG Shape divider for sections)
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 post
  • 0
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 BaNgan from 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, 360 Degree Photo block, Seperator Block (SVG Shape divider for sections)
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 post
  • 0
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 post
  • 0
40 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;
}

 

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.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...