Jump to content
Sign in to follow this  
fabriceunko

entire background image

Recommended Posts

Images implemented via the CSS background rules can be sized several ways. See:
https://www.w3schools.com/cssref/css3_pr_background-size.asp

Find a place in your skin's CSS rules to add:

body {
  background: url("/path_to_image/image.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

This should scale the image to fit the viewport.

However, you are phrasing your question in such a way as to suggest wanting different images: imageA.jpg for small screens, imageB.jpg for medium screens, and imageC,jpg for large screens.

Let us know if that is what you meant.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...