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
8
Views
219
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from freecoded

Richest Freecoded User

Most Freecoin

freecoded
freecoded
2,597 Freecoin
Davy200
Davy200
590 Freecoin
nathan69
nathan69
424 Freecoin
Laureine
Laureine
415 Freecoin
C
codeguru
295 Freecoin
Tekera
Tekera
263 Freecoin
R
ruthailand
221 Freecoin
A
Akubay
170 Freecoin
smitha
smitha
104 Freecoin
G
Gabby
93 Freecoin
Top