inherit
200292
0
Feb 19, 2016 22:51:40 GMT -8
Shaliza
"Laughter is timeless, imagination has no age, and dreams are forever." - Walt Disney
545
September 2013
shaliza
|
Post by Shaliza on Sept 5, 2020 22:36:16 GMT -8
Hello: Forum URL: allkindsofeverything.boards.netI have a question about coding for the theme background. On the current, default theme, I'm using a background image which is 1502 x 900 pixels. How do I make it so that the background image remains 100% regardless of the user's screen size? Normally I have a seamless, repeating, tile background which does not present an issue. However, I'm noticing that when I use a desktop image background that I cannot seem to have it adjust to be 100% on any screen without repeats. Is there any coding that I can add to the Style Sheet to achieve this? Thanks in advance for the help!
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Sept 5, 2020 23:49:18 GMT -8
Hi ShalizaAdd the following to the bottom of your stylesheet on the relevant theme. body { background-size: 100% 100%; }
|
|
inherit
200292
0
Feb 19, 2016 22:51:40 GMT -8
Shaliza
"Laughter is timeless, imagination has no age, and dreams are forever." - Walt Disney
545
September 2013
shaliza
|
Post by Shaliza on Sept 6, 2020 22:04:20 GMT -8
Hi Shaliza Add the following to the bottom of your stylesheet on the relevant theme. body { background-size: 100% 100%; } Thanks so much for this coding, Nscalerr. It worked beautifully. I really appreciate the help as always. *hugs*
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Sept 6, 2020 22:23:29 GMT -8
|
|