brandahemman Posted February 26, 2021 Share Posted February 26, 2021 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 Beyondspace 1 Link to comment
Beyondspace Posted February 26, 2021 Share Posted February 26, 2021 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 Could you try to reduce padding of banner @media only screen and (max-width: 640px) .banner-thumbnail-wrapper { padding: 10px 0; } brandahemman 1 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 pluginIf 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
brandahemman Posted February 26, 2021 Author Share Posted February 26, 2021 5 minutes ago, bangank36 said: @media only screen and (max-width: 640px) .banner-thumbnail-wrapper { padding: 10px 0; } Apparently there's a syntax error in the code Beyondspace 1 Link to comment
brandahemman Posted February 26, 2021 Author Share Posted February 26, 2021 17 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; } Apparently there's a syntax error in the code Beyondspace 1 Link to comment
brandahemman Posted February 26, 2021 Author Share Posted February 26, 2021 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; } Beyondspace 1 Link to comment
brandahemman Posted February 26, 2021 Author Share Posted February 26, 2021 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 comment
Solution Beyondspace Posted February 27, 2021 Solution Share Posted February 27, 2021 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 pluginIf 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
brandahemman Posted February 27, 2021 Author Share Posted February 27, 2021 5 hours ago, bangank36 said: @media only screen and (max-width: 640px) { .banner-thumbnail-wrapper { padding: 10px 0; }} Works like a breeze now, thanks! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment