PDA

View Full Version : Back Ground which suits for all screen resolutions?


socialteenz
07-18-2011, 02:44 PM
Fix in the second post :)

socialteenz
07-20-2011, 06:55 AM
Thanks to HMBeaty (https://vborg.vbsupport.ru/member.php?u=112877) for the code


Style manager >>> Style vars >>> Doc_background

Background Color: transparent
Background Image: url(image url here)
Background Repeat: No Repeat
Units: (Blank)
Background Image Horizontal Offset: top
Background Image Vertical Offset: fixed

style manager >>> css templates >>> additional.css

html {
background-attachment: none;
background-clip: border-box;
background-color: #FFFFFF;
background-image: {vb:stylevar doc_background};
background-position: 0 0;
background-origin: ;
background-repeat: none;
background-size: 100% 100%;
}

:)

setishock
07-20-2011, 08:21 PM
In your thread about the rotate.php file not working try the one I posted about and add the path to the php in the doc background stylevar. That way when the image is served up it gets washed through HMB's css instructions.

HMBeaty
07-20-2011, 11:51 PM
Glad to see this code being used and working for others :D