Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

What Size / Ratio Website Background Image Should I Use?

Featured Replies

I'm about to create a background image in photoshop to use as a background design for a website but not sure what size/ratio to make my image. Ideally you don't want the image to get squished or stretched depending on different monitors and browsers. Then there's retina and new high-res screens. What would be best to ensure I have long term compatibility with as many different users as possible? Personally I am currently on a 1440x900 screen.

Also what resolution should I choose?

 

Thanks

Edited by Made In Machines

  • 2 weeks later...

use 2000x2000px image I think it will work fine for most displays...

most sites I saw use this size image...

add no-repeat and fixed.

ex:

background: (image location) no-repeat center center fixed;

It depends really. For instance, if your background i pattern based, for example a Blue background with diagonal lighter blue stripes. You make it as small as possible and then let it repeat throughout the whole page, this prevents the background to load in slowly, which can potentially ruin the users' experience.

 

If you have a big image, try to be cautious as to how much it's really needed, and what you might be able to do to make the loading time as small as possible. The different resolutions always made me scared to go the "big-image" road, i much more prefer the safe road and either use simple colors, or repeating backgrounds to improve the looks of the the site.

  • 2 weeks later...

Be careful not to jeapordise load speed here. 2000 pixels wide is a pretty safe bet for width but we tend to try to design the website so that the background image will only need to be 300 to 600 pixels deep because a 2000x2000 pixel image will slow the load time. If the background image is applied to the body tag and set to position in the top center using CSS you should have no issues with the image 'squishing' but keep in mind that not all of the image will be showing if the user is on a small window (iPhone). Be clever when you create the bacjground image in Photoshop - the colour you use on the sides and bottom can then be extended by using a background-color property on the body tag

  • 2 weeks later...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.