Twenty Eleven Theme – Prevent header being distorted when browser width changes
-
Hi Everyone,
Would setting a min-height and a min-width prevent my header image from getting squashed whenever the browser window is resized by a visitor? Currently, my header image is squashing (and not maintaining it’s original aspec ratio) whenever the browser window is changed beyond a certain threshold.
I’ve tried setting minimum widths and heights, however my page layout continues to change…which I thought would be prevented by “overflow: hidden”. My sidebars bump down below my posts when the browser window reaches that threshold. I’d rather those stay put.
This is the code I entered:
#primary { float: left; margin: 0 -26.4% 0 0; min-width: 790px; min-height: 900px; overflow: hidden; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Twenty Eleven Theme – Prevent header being distorted when browser width changes’ is closed to new replies.