Group Toolbar Menu

Forums » CSS Support » Background Images

I know I saw it somewhere, but can't for the life of me remember where. Simple question ( I hope)
• What is the optimal image size for a background image?

Remove this ad

I usually stick with width at 1920px and whatever height that gives to most landscape style images, as the most common resolution is 1920x1080, but I'm not sure if that's the optimal/recommended for RPR styles. 😅
Thanks for this. I’ve seen some of your styles and they look good.
Finding an actual preferred usable image with 1920x1080 dimensions isn’t easy. I have experimented with smaller dimensions with mixed results. They usually turn out vertically too big. Still working on getting a complete grasp of the CSS workings as it pertains to backgrounds.
With that, I usually make sure to have "background-size:cover" in my css for the body background, then use x,y positioning (center, top, right, left, bottom) to orientate it.

example:
Code:
body { background: url(imageurl) center center no-repeat fixed; background-size: cover; }

Moderators: Sanne