Olá!
There’s anyway i can put a background image with a fixed size?
The image that i want for my background is not a solid color, so anytime i resize my window or even in a diferent display resolution she gets distorted! There’s anyway i can avoid this distortion?
Thanks
hi Marciatraca,
the LTE background image feature by default stretches the bgimage to fit browser resolution, however if you want it to be a default size you should use LTE Advanced Mode.
Try using the following snippet:
body.lte.lte-advanced{background: transparent url(url to image) no repeat top left;}
.lte.lte-advanced #header,
.lte.lte-advanced #content{background: transparent!important;}
and use a properly resized image as bg image,
let me know if this helped.
Hello, did that thing work for you? I cant get the background image to stay fixed. Please help!
Thank you
hi dblom,
in order to add a fixed background image please remove your actual LTE global background image and use the following code in your advanced editor:
.lte.lte-advanced #header,
.lte.lte-advanced #content{background: transparent;}
body.lte.lte-advanced{background: transparent url(your bg image url);}
please note that you’ll have to provide a wide enough image or use a repeated pattern.