1. Ce site utilise des cookies. En continuant à utiliser ce site, vous acceptez l'utilisation des cookies. En savoir plus.

RESOLU Favicon pour mon site

Discussion dans 'Problèmes résolus' créé par PyR0_, 16 Mai 2016.

MineStrator, Votre hébergeur de serveur minecraft
Statut de la discussion:
N'est pas ouverte pour d'autres réponses.
  1. PyR0_

    PyR0_ Soldat

    10
    1
    3
    (Déja posté mais pas au bon endroit me semble-t-il)

    Alors bien le bonjour, je voudrais changer ma favicon de mon site, j'ai suivit ce TUTO: Merci de vous Connecter/S'inscrire pour voir les liens.
    Sachant que je suis novice dans ce sujet je demanderai un peu d'help.
    J'ai mit mon icone dans le dossier thème de mon style du coup --> thème/blackbordel/yazyu.ico
    Ensuite j'ai copié ça
    <link rel="icon" href="theme/default/img/yazyu.ico" type="image/x-icon"> du coup j'ai mit ça: <link rel="icon" href="theme/blackbordel/img/yazyu.ico" type="image/x-icon"> Sauf que je ne sais pas vraiment ou mettre ce texte..
    Merci de bien vouloir m'aider.
     
  2. Amjido

    Amjido Général de division ✬✬

    862
    246
    63
    Salut, tu le mets dans l'index.php de ton thème soit : theme/[TON_THEME]/index.php entre <head> et </head> comme ceci :

    <head>
    <link rel="stylesheet" href="blablabla/blablabla.css>
    [...]
    <link rel="icon" href="theme/blackbordel/img/yazyu.ico" type="image/x-icon">
    </head>

    Sinon je peux voir ton site ? c:
     
  3. PyR0_

    PyR0_ Soldat

    10
    1
    3
    Merci pour ta réponse tu dois me prendre pour un gros noob mais je ne comprends pas trop ? J'ai ça je fais quoi la:

    <head>
    <link rel="icon" href="theme/blackborder/img/yazyu.ico" type="image/x-icon">
    <meta charset="utf-8" />
    <meta name="autor" content="CraftMyWebsite , TheTueurCiTy, <?php echo $_Serveur_['General']['name']; ?>" />
    <link href="theme/<?php echo $_Serveur_['General']['theme']; ?>/css/bootstrap.css" rel="stylesheet" type="text/css">
    <script src="theme/<?php echo $_Serveur_['General']['theme']; ?>/js/modernizr-2.6.2-respond-1.1.0.min.js"></script>
    <link href="theme/<?php echo $_Serveur_['General']['theme']; ?>/css/style-<?php echo $_Serveur_['General']['themeOption']; ?>.css" rel="stylesheet" type="text/css">
    <script src="theme/<?php echo $_Serveur_['General']['theme']; ?>/js/snarl.js"></script>

    <?php
    if(isset($_GET['page']))
    {
    if($_GET['page'] == 'boutique')
    echo '<link href="theme/' .$_Serveur_['General']['theme']. '/css/boutique.css" rel="stylesheet" type="text/css">';
    if($_GET['page'] == 'token')
    echo '<link href="theme/' .$_Serveur_['General']['theme']. '/css/tokens.css" rel="stylesheet" type="text/css">';
    if($_GET['page'] == 'admin')
    echo '<link href="theme/' .$_Serveur_['General']['theme']. '/css/admin.css" rel="stylesheet" type="text/css">';
    if($_GET['page'] == 'voter')
    echo '<link href="theme/' .$_Serveur_['General']['theme']. '/css/voter.css" rel="stylesheet" type="text/css">';
    if($_GET['page'] == 'profil')
    echo '<link href="theme/' .$_Serveur_['General']['theme']. '/css/profil.css" rel="stylesheet" type="text/css">';
    if($_GET['page'] == 'support')
    echo '<link href="theme/' .$_Serveur_['General']['theme']. '/css/support.css" rel="stylesheet" type="text/css">';
    }
    ?>
    <title><?php echo $_Serveur_['General']['description'] ?></title>
    </head>


    Mon site n'est pas finit mais à la fin oui avec plaisir :)
     
  4. Amjido

    Amjido Général de division ✬✬

    862
    246
    63
    Oui c'est çà ;)
     
  5. PyR0_

    PyR0_ Soldat

    10
    1
    3
    Mais la j'ai rien touché en faite tu peux me dire quoi faire ? :)
     
  6. Florentlife

    Florentlife Administrateur Forum CMW Staff Administrateur Forum Développeur officiel de CraftMyWebsite

    2 594
    376
    83
    Ben c'est simple ;)
    après le
    <title><?php echo $_Serveur_['General']['description'] ?></title>
    Tusautes une ligne et rajoute ton bout de code :)
     
  7. PyR0_

    PyR0_ Soldat

    10
    1
    3
    Tu peux me donner le code exact que je dois mettre (désolé je suis nul hein :))
     
  8. Florentlife

    Florentlife Administrateur Forum CMW Staff Administrateur Forum Développeur officiel de CraftMyWebsite

    2 594
    376
    83
    Si tu as mis ton image déjà au bon endroit alors tu met ça comme code :
    <link rel="icon" href="theme/blackbordel/img/yazyu.ico" type="image/x-icon">
    en dessous de ce que je t'ai dit

    Si ton image s'appelle yazyu.ico
     
    • J'aime J'aime x 1
  9. Florentlife

    Florentlife Administrateur Forum CMW Staff Administrateur Forum Développeur officiel de CraftMyWebsite

    2 594
    376
    83
    Problème résolu je lock
     
Statut de la discussion:
N'est pas ouverte pour d'autres réponses.

Partager cette page

Chargement...