I'm code blind. The following codes are all from Thousands Picked it off! thank!

I set two backgrounds!

One of them is a lovely boy,

This is a perfect picture! Thank you very much for allowing me to use it for a while.

  • HTML code:

     <div id="mememe"></div>
  • CSS:

     #mememe { Background: url (your picture address); background-repeat: no-repeat; width: 100%; height: 100%; position: fixed; background-position: bottom right; bottom: 0; right: 0; z-index: -1 }
  • Edible method
    Just add css to the style.css file, and then add HTML code to the page you need, such as I added
    index.php
    page-archives.php
    page.php
    post.php
    (In the <? php $this->need('footer.php'); ?> Just before)

The second is the general background

  • HTML

     <body class="custom-background">
  • css

     body.custom-background {  Background image: url ('your address'); background-repeat: no-repeat; background-position: top left;  background-attachment: fixed; background-size:cover }
  • Edible method
    Css is added to style.css, and then header.php <body> Of class join custom-background Is enough!
Last modification: February 26, 2019
Do you like my article?
Don't forget to praise or appreciate, let me know that you accompany me on the way of creation.