Sitebuilder Plus: Resizeable Background Image

  • 0
  • 1
  • Article
  • Updated 5 months ago
  • (Edited)
You can achieve a background image that scales to the browser window via code.

Try putting the following code in the HTML Head tag section while having an image selected to be the background. Note: This will stretch the image to be the background, so if the image is small, it may appear pixelated, and will need to be placed on every page. I would recommend doing this with a large photo. 

<style>body {      background-repeat: no-repeat;
      background-size: cover;
      }
</style>
Photo of Homestead FAQ

Homestead FAQ, Employee

  • 42,916 Points 20k badge 2x thumb

Posted 5 months ago

  • 0
  • 1

Be the first to post a reply!