inherit
244181
0
Jan 14, 2018 7:50:54 GMT -8
truegota
37
April 2017
truegota
|
Post by truegota on Dec 24, 2017 5:47:49 GMT -8
It's probably a dumb question but how big should background images for pages be? Like, if I have a custom page for an RP race and want to have an image showing some of them in the background. Or something like this i.imgur.com/mlHzrxW.jpgWill it automatically choose the right size if it's big enough or should it be adjusted to the forum?
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Dec 25, 2017 15:14:17 GMT -8
Are you wanting the image to cover the full size of the browser window, or only wrap around main content as shown in your screenshot? For an image that covers the browser window, the standard is 1920x1080 or smaller with a 16:9 ratio -- an optimized .jpg is best, less than 3MB. You can then use the following CSS to have the image fill the screen completely: body { background: url("images/bg.jpg") no-repeat center center fixed; background-size: cover; } An image that wraps around content would only need to be wide enough to be visible, and preferably repeating to keep the file size down. Again, an optimized .jpg less than 3MB is best. You can use this CSS: body { background: url("images/bg.jpg") repeat-y center top scroll; } Here are some more tips for working with background images -- it has some Wix-specific details, but the concepts still apply: www.wix.com/blog/2015/02/5-golden-tips-for-creating-fullscreen-website-backgrounds/
|
|