Keeping header image height constant for different sized windows
I was trying to check how my homepage behaves when I shrink the size of the window. My screen resolution is 2560 x 1440. I have a noticed that as I decrease the length of my window, my homepage header image shrinks both in length and breadth. Is there any way to tweak this so that the height of the image remains constant throughout, until it's less than a particular threshold where the separate header image for my phone ( I have it already) takes over? (Have a look at zizka.ca to understand what I mean. Although I know it's a Squarespace site)
Also, I know there is something in my css which decides when the menu will be shrinked to an accordion, depending on the screen width. I would like to increase the threshold, but I'm not sure which line does it. Could anyone help me out with it?
Comments
I would think that how your site behaves is better than that other site. I would rather see the whole image, decreasing in size (proportionally) than chopping the right side. But if that's what you want then remove the
width: 100%
andmax-width: 100% !important;
here:The break point from desktop to mobile is fixed from SmugMug at
736px
. The only way your going to change that is to create your own menu using HTML/CSS.Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Just to add about your second question. Even if you were to create your own menu, SmugMug uses Javascript and we can't use it.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
On second thoughts, I think you're right, I'd prefer my current design.
Thank you so much.