Quote:
Originally Posted by RedHacker
I have one image in size 1920*1080 but if change to 1832*270 not show correct in all devices. How to fix this show correct in all devices ?
PC ? iPhone ?
|
Those are vastly different aspect ratios. Try adding this selector to your "additional.css" template:
HTML Code:
.doc_header {
background: url(image url goes here);
background-size: 100%;
background-repeat: no-repeat;
}
This way, the image width will fill the parent, and the height will be set to auto to preserve the original aspect ratio.