Hi, I change alt background image, but I can't find any way to cancel background repeating. I want change it to same settings as evo template - fill the page. can somebody help me, thanks
Hi, I change alt background image, but I can't find any way to cancel background repeating. I want change it to same settings as evo template - fill the page. can somebody help me, thanks |
/path_to_dol/templates/tmpl_alt/css/common.css body { background-image:url(../images/clouds.png); background-repeat:repeat; becomes... body { background-image:url(../images/clouds.png); background-repeat:no-repeat; background-size:cover;/*this sets the image to fullscreen covering the whole screen*/ /*css hack for ie */ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.image.jpg',sizingMethod='scale'); -ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='image.jpg',sizingMethod='scale')"; Taken from http://stackoverflow.com/questions/10869739/how-to-make-full-screen-backgound-in-a-web-page. |
thanks, but it not solve my problem ... on some another place must by information about background - for example - in template dir I change clouds.png to cloud.png, same change I make in common.css and after it I have page without background :( not only in common.css is info about background ... |
Strange, it worked for my ALT template, using Firefox browser. |
my testing page is here |
Did you clear the cache? |
thanks a lot, cache is my problem :) |
and about long sites - you can use background-attachment: fixed; and picture stay on page and text rolls in the foreground ... |