Bonjour, je suis en train de crée mon propre thème et j'ai un souci, ma feuille de style ne se charge pas, elle est introuvable et mes images aussi. Voici le code de mon header.php et de ma feuille de style, tous dans le même dossier et les images sont au bon endroit.
Header.php :
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><?php wp_title(); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet"media="all"type="text/css" href="style.css">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="header">
<div id="logo"><img src="images\header_logo.png" height='26'width='163'/></div>
<div id="rubrique"><ul>
<li>Acceuil</li>
<li>Acceuil</li>
<li>Acceuil</li>
</ul></div>
</div>
Style.css :
@charset "utf-8";
/*
Theme Name: 2DI
Theme URI:
Description:
Version: 1.0
Author: 2DI | Codec from Dunk
Author URI:
Tags:
*/
body {
background-color: #ededed;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
#header{
background-image:url(images/header_bg.png);
height: 58px;
}
#logo{
position: absolute;
margin-left: 33px;
margin-top: 15px;
height: 26px;
width: 163px;
background-image:url(images/header_logo.png);
}
J'ai besoin d'aide SVP !