Résolu [Xenforo] Comment faire bouger un background en entête ?

Statut
N'est pas ouverte pour d'autres réponses.

Deleted404

Premium
Premium
Inscription
18 Octobre 2012
Messages
406
Réactions
173
Points
4 166
RGCoins
0
Bonsoir tous le monde j'aurais voulu faire bouger mon background sur l'entête mais je sais pas comment m'y prendre :'(

Exemple :

Voilà merci de m'aider ;)

@Walky SEC :love:
 

adel_xf

Premium
Inscription
23 Mai 2015
Messages
522
Réactions
251
Points
14 554
RGCoins
20
Yop jai trouvé la solution !
tu va dans ton template header.css et ajoute cela
Code:
#header {

    width: 560px;
    height: 400px;
    background-image: url(https://i.imgur.com/uW8Slvs.png);
    background-position: 0px 0px;
    background-repeat: repeat-x;

    animation: animatedBackground 40s linear infinite;
}
@keyframes animatedBackground {
    from { background-position: 150% 0; }
    to { background-position: 0 0; }
}
change le lien par ton image
 
Dernière édition:
Cette réponse a aidé l'auteur de cette discussion !

Deleted404

Premium
Premium
Inscription
18 Octobre 2012
Messages
406
Réactions
173
Points
4 166
RGCoins
0
Yop jai trouvé la solution !
tu va dans ton template header.css et ajoute cela
Code:
#header {

    width: 560px;
    height: 400px;
    background-image: url(https://i.imgur.com/uW8Slvs.png);
    background-position: 0px 0px;
    background-repeat: repeat-x;

    animation: animatedBackground 40s linear infinite;
}
@keyframes animatedBackground {
    from { background-position: 150% 0; }
    to { background-position: 0 0; }
}
change le lien par ton image
J'ai oublier de dire que le sujet etait résolu , j'ai trouver la solution tout seul comme un grand , mais merci à toi :)
 
D

delete214168

Salut,

J'ai déplacé https://reality-gaming.fr/attachments/deplacement-png.20319/ ta discussion en section Résolu https://reality-gaming.fr/attachments/verifier-png.20313/

Bonne fin de soirée,
RaFaLe'
 
Statut
N'est pas ouverte pour d'autres réponses.
Haut