Background Image – Cover
-
I wanted to make the background dynamic to the size that the user has the browser open…. i found this code:
html {
background-image: url(‘http://randomimg.jpg’);
background-position: center center;
background-repeat: no-repeat;-webkit-background-size: cover;
-moz-background-size: cover;
-ms-background-size: cover;
-o-background-size: cover;
background-size: cover;
}i believe this is correct but where is it easiest to add this code? i have a child theme setup just not sure which file or div-id i should be searching for to find the background img i have currently set.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
The topic ‘Background Image – Cover’ is closed to new replies.
