- Modifié
C'est bon!
J'ai donc fait comme ça pour remplacer l'image de fond.
nano /var/www/tardistart/assets/css/style.css
Ensuite, juste après il faut supprimer la ligne:
background: #EAEAEA;
Et remplacer par:
background-image: url("CHEMIN OU URL DE L IMAGE");
Pour arriver à ça:
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
font-family: "Droid Sans", "Liberation Sans", "DejaVu Sans", "Segoe UI", Sans-Serif;
font-size: 10pt;
background-image: url("CHEMIN OU URL DE L IMAGE");
color: #ffffff;
Pour finir:
nano /var/www/tardistart/index.php
Et supprimer la ligne, qui se trouve à la fin:
<script src="./assets/js/randomBackground.js"></script>
Un petit:
service nginx restart
Si un expert en css tourne dans le coin
EDIT: par contre sur mobile ça fait un fond blanc...