Resource icon

Osclass Cover Photo Plugin 2023-03-01

No permission to download

Adding a background image​


If you want to add a background image on any part of your site, you need to modify your header.php file, inside your theme folder (modern by default). You can also modify the CSS file your theme is using and add the following code.
Note that in this example we will be adding a background image for the body of the page.
In case of HTML:
<style type="text/css">
body {
background-image: url('{url of image}');
}
</style>


In case of CSS:
body {
background-image: url('{url of image}');
}

It's better to use a relative path when pointing to the url of the image. If not, you should use an absolute path to the image.
Author
freecoded
Downloads
11
Views
1,264
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from freecoded

Richest Freecoded User

Most Freecoin

freecoded
freecoded
5,328 Freecoin
G
GwenJasmine
2,166 Freecoin
P
Peterparker87
1,900 Freecoin
J
Johnhendrick
1,551 Freecoin
S
speechhub
1,225 Freecoin
M
mahlibeardman
1,078 Freecoin
peterkester96
peterkester96
1,001 Freecoin
S
Smith16
738 Freecoin
A
Alfrenoe87
618 Freecoin
Davy200
Davy200
590 Freecoin
Top