You are viewing limited content. For full access, please sign in.

Question

Question

Form Background

asked on December 14, 2015

Hi, I realize we could do the tile background- both (vertical and horizontal) OR I have tired my custom css:

body {
background-attachment: fixed;
background-repeat: repeat-y repeat-x;
}

 

Does anyone know the best way to keep the image filling out the screen under the form even when it is resized or scrolled down?


Thanks!!

0 0

Answer

SELECTED ANSWER
replied on December 14, 2015

This is what we use to have one large image cover the whole background.

body {
  background: url('/Forms/img/Theme/myImage.jpg') no-repeat;
  background-size: cover;
}

If you are attaching the image via the theme editor, you should be able to take that part out of the background property and just use no-repeat. In any case, background-size: cover is what you want, I think.

2 0

Replies

replied on December 14, 2015

That is exactly what I needed, thank you!!

 

Do you put the code on every form then?

0 0
replied on December 14, 2015

Every form that needs the functionality, yeah.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.