Impossible d'obtenir ce que je veux sur mon header.php (wordpress)

Impossible d'obtenir ce que je veux sur mon header.php (wordpress) - HTML/CSS - Programmation

Marsh Posté le 15-04-2010 à 15:13:18    

Bonjour,
 
je voudrais faire des modifications sur mon header mais je ne trouve pas où cela se situe devant mon niveau en html. (j'arrive à insérer une image sur un truc vierge... :D )
 
le site en question : vtt-sensation.info
 
Le soucis : c'est le gros vtt-sensation.
 
Je voudrais virer ce titre et mettre à la place une bannière. Google a trouvé sur le forum de wordpress une aide. Seulement, j'arrive bien à virer le titre et mettre une bannière mais cela décale tout (le ACCUEIL À PROPOS FORUM ), et c'est absolument horrible (du coup j'ai remis comme cela était).
 
Si vous pouviez m'aider, voici le code :


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
 
<title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) {
single_cat_title(); echo " - "; bloginfo('name');
} elseif (is_single() || is_page() ) {
single_post_title();
} elseif (is_search() ) {
bloginfo('name'); echo " search results: "; echo wp_specialchars($s);
} else { wp_title('',true); }
?></title>
 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
 
    <script src="<?php bloginfo('template_directory'); ?>/scripts/mootools.v1.11.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_directory'); ?>/scripts/jd.gallery.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_directory'); ?>/scripts/jd.gallery.transitions.js" type="text/javascript"></script>
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/slideshow.css" type="text/css" media="screen" />
 
    <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/styleie.css" /><![endif]-->
<?php wp_head(); ?>
</head>
<body>
 
<div id="wrapper"><a name="top"></a>
<div id="header" class="fix">
    <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
 
<div id="pagenav">
    <ul class="nav fix">
        <li><a href="<?php echo get_settings('home'); ?>/" title="Return to the the frontpage">Accueil</a></li>
        <?php wp_list_pages('title_li='); ?>
    </ul>
</div>
 
<div id="categories">
    <div id="categories" class="fix">  
        <ul class="fix">
        <?php wp_list_cats('sort_column=name&optioncount=0'); ?>
        </ul>
    </div>
</div>
</div>


 :jap:  :jap:


Message édité par Profil supprimé le 15-04-2010 à 15:13:32
Reply

Marsh Posté le 15-04-2010 à 15:13:18   

Reply

Marsh Posté le 15-04-2010 à 15:34:37    

ta bannière fait quelle taille ?

Reply

Marsh Posté le 15-04-2010 à 15:57:17    

950x70 je crois bien :)

Reply

Marsh Posté le 15-04-2010 à 16:00:52    

beaucoup trop grand avec ce template , tu n'as que 400px de large ( après il y a le conteneur de la boite de recherche)


Message édité par flo850 le 15-04-2010 à 16:00:58
Reply

Marsh Posté le 15-04-2010 à 16:04:47    

il faut que je refasse ma bannière alors... :/ et niveau hauteur, je peux mettre plus que tu 70?
 
ps : je viens de m'apercevoir que j'avais testé avec une bannière plus petite, mais elle reste en 468x70 ... pour la couper encore plus, je dois modifier la police sur l'image ;)

Reply

Marsh Posté le 15-04-2010 à 17:16:37    

là par exemple, j'ai viré le titre vtt-sensation en supprimant  
 
<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
 
mettre ma bannière (gif) arrangera les choses?
 
acceuil, forum et à propos sont décalés vers le haut, c'est laid :o

Message cité 1 fois
Message édité par Profil supprimé le 15-04-2010 à 17:17:02
Reply

Marsh Posté le 15-04-2010 à 17:20:21    

apparamment il faut que je modifie le CSS pour mettre l'image (hébergué sur imageshack)
 
 
edit : j'ai mis cela :
 
/* header */
#header{
background:url(http://img413.imageshack.us/img413/3785/logoff.gif) top no-repeat;
padding:5px 0;
 
edit 2 : bon j'ai l'image mais comme vous voyez, c'est très moche ... je dois réduire encore la taille de l'image pour que cela passe et que devienne comme avant?


Message édité par Profil supprimé le 15-04-2010 à 17:24:17
Reply

Marsh Posté le 15-04-2010 à 18:00:39    

bon, j'ai encore réduit la taille de l'image et ca fait toujours pareil... (300x38 je crois bien)
 
tout est décalé ...  
 
SOS :D

Reply

Marsh Posté le 15-04-2010 à 18:47:51    

chti up :)

Reply

Marsh Posté le 16-04-2010 à 01:12:00    

Salut.
 
 
Si je remplace ta ligne par :
background : url("http://img594.imageshack.us/img594/5452/logoff1.gif" ) no-repeat 0 0;
 
Ta bannière vient bien dans l'angle gauche, en hauteur, et ne décale rien de tes menus...
 
Maintenant, à toi ensuite de changer ta bannière pour la faire dans la largeur voulue (à vue de nez autour de 850 px de large, et dans les 60 à 70 de haut ?)
 


Message édité par toum_toum le 16-04-2010 à 01:22:48

---------------
“Never forget that England imposed this war on us" - Goebbels 1943 . “Et maintenant, la météo" - Soloviev 2023
Reply

Marsh Posté le 16-04-2010 à 01:12:00   

Reply

Marsh Posté le 16-04-2010 à 09:47:43    

merci de ton aide. En effet, le logo s'est bien mis en haut à gauche. Cependant, cela n'a pas redonné l'apparence originel de la partie recherche et les mots acceuil, forum et a propos sont toujours décalés et sont maintenant "fusionné" avec le logo.
 
:jap:

Reply

Marsh Posté le 16-04-2010 à 10:07:15    

voici à quoi cela ressemble d'origine
 
http://www.themes-css.com/wp-content/uploads/2008/02/wordpress-massivenews.png

Reply

Marsh Posté le 16-04-2010 à 10:17:24    


Salut,

 

Plutot que de virer le H1, tu peux modifier sa CSS.
Tu lui met l'image que tu veux en background et tu fais disparaitre le texte avec la propriété text-indent:-9999px;

 

edit: tu donnes aussi des propriétés height et width au h1 selon les dimensions de ton image


Message édité par Skopos le 16-04-2010 à 10:27:10

---------------
userstyles HFR : alléger l'accueil du forum; réduire les img https des quotes. Script AHK ImageFloodHFR
Reply

Marsh Posté le 16-04-2010 à 10:39:28    

:jap:  
 
j'ai remis comme cela était au début.
 
voici mon CSS :  

Code :
  1. /*   
  2. Theme Name: Massive News_(niss)
  3. Theme URI: http://www.massivepress.net/
  4. Description: A premium WordPress news theme. Traduction <a href="http://www.niss.fr/">(niss.fr)</a>.
  5. Version: 1.0
  6. Author: Jason Schuller
  7. Author URI: http://www.massivepress.net/
  8. Please leave credit where credit is due.
  9. */
  10. *{
  11. margin:0;
  12. padding:0;
  13. }
  14. html,body{
  15. background:#BDBDBD url(images/bodybg.jpg) repeat-x;
  16. color:#333;
  17. text-align:center;
  18. }
  19. body{font:12px arial,helvetica,verdana,sans-serif;}
  20. h1{
  21. font-size:55px;
  22. font-family:"Times New Roman", Times, serif;
  23. font-weight:normal;
  24. }
  25. h2{font-size:18px;}
  26. h3{font-size:16px;}
  27. h4{font-size:13px;}
  28. h5{
  29. font-size:10px;
  30. color: #7f7f7f;
  31. padding-left:1px;
  32. font-weight:normal;
  33. margin-bottom:8px;
  34. }
  35. a{
  36. color:#333;
  37. text-decoration:none;
  38. }
  39. a:hover{color:#666;}
  40. #wrapper{
  41. margin:0px auto;
  42. text-align:left;
  43. width:878px;
  44. }
  45. /* header */
  46. #header{
  47. background:url(images/headerbg.jpg) no-repeat 0 0;
  48. padding:5px 0;
  49. }
  50. #header h1 a{
  51. width:400px;
  52. float:left;
  53. margin:0;
  54. }
  55. #header h1 a em{
  56. font-style:normal;
  57. color:#555;
  58. }
  59. #searchWrap input{vertical-align:middle;}
  60. #searchWrap #s{
  61. font-size:1.1em;
  62. border:none;
  63. padding:1px 2px;
  64. margin-right:3px;
  65. width:200px;
  66. }
  67. /* page navigation */
  68. #pagenav{
  69. float:left;
  70. width:500px;
  71. padding-top:7px;
  72. }
  73. ul.nav{list-style:none;}
  74. .nav li{
  75. float:left;
  76. display:block;
  77. padding:2px 10px 2px 10px;
  78. background:url(images/pagebreak.gif) left no-repeat;
  79. }
  80. .nav li a{
  81. font-size:11px;
  82. outline:none;
  83. color:#2F2F2F;
  84. text-decoration:none;
  85. display:block;
  86. padding:5px 0 0x 5px;
  87. text-transform:uppercase;
  88. }
  89. .nav li a:hover{
  90. text-decoration:underline;
  91. color:#484848!important;width:
  92. }
  93. * html .nav li a:hover{background:#333;}
  94. /* category navigation */
  95. #categories{
  96. float:left;
  97. width:878px;
  98. }
  99. #categories ul{
  100. list-style:none;
  101. padding:1px 0 0px 0;
  102. }
  103. #categories li{
  104. float:left;
  105. display:block;
  106. background:url(images/catbreak.gif) left no-repeat;
  107. height: 25px;
  108. padding-top:4px;
  109. }
  110. #categories li a{
  111. color:#FFF;
  112. display:block;
  113. padding:2px 10px 4px 10px;
  114. }
  115. #categories li a:hover{color:#CCC;}
  116. /* main content */
  117. #mid{padding-top:4px;}
  118. #main{
  119. background:#FFFFFF url(images/mainbottom.gif) bottom no-repeat;
  120. float:left;
  121. margin:0 10px 0 0;
  122. width:548px;
  123. }
  124. #singlemain{
  125. background:#FFFFFF url(images/smbottom.gif) bottom no-repeat;
  126. float:left;
  127. margin:0 10px 0 0;
  128. width:548px;
  129. }
  130. #featured{
  131. background:url(images/maintop.gif) top left no-repeat;
  132. padding:5px;
  133. }
  134. #myGallery{
  135. margin:4px;
  136. font-size:18px;
  137. }
  138. /* sidebar */
  139. #sidebar a{font-weight:bold;}
  140. #sidebar{
  141. color:#333;
  142. float:left;
  143. margin:0;
  144. width:320px;
  145. line-height:1.3em;
  146. }
  147. #sidebar p{color:#333;}
  148. #blocks{
  149. background:#FFFFFF url(images/blocktop.gif) top no-repeat;
  150. padding:5px 10px 0 10px;
  151. }
  152. #widgetblock{
  153. background:#FFFFFF url(images/blocktop.gif) top no-repeat;
  154. padding:5px 5px 0 5px;
  155. }
  156. #tagblock{
  157. background:#FFFFFF url(images/blocktop.gif) top no-repeat;
  158. padding:5px 10px 0 10px;
  159. }
  160. #tagblock a{
  161. font-weight:normal;
  162. color:#484848;
  163. }
  164. #tagblock a:hover{color:#7F7F7F;}
  165. #advertblock{
  166. background:url(images/advertblockbg.gif) top no-repeat;
  167. height:270px;
  168. padding:10px 0 0 10px;
  169. }
  170. #blocks a{
  171. font-weight:bold;
  172. color:#484848;
  173. }
  174. #blockpost{
  175. padding:0 0 8px 0;
  176. }
  177. #blocks a:hover{color:#7F7F7F;}
  178. h3.blocks{
  179. font-size:15px;
  180. margin-bottom: 10px;
  181. }
  182. h3.mainblock{
  183. font-size:15px;
  184. margin-bottom: 10px;
  185. margin-left: 5px;
  186. }
  187. #bottomblock{
  188. background: #BDBDBD url(images/blockbottom.gif) top no-repeat;
  189. height:7px;
  190. padding:0;
  191. margin-bottom:10px;
  192. }
  193. #searchWrap{
  194. float:right;
  195. margin-top:69px;
  196. margin-right:2px;
  197. }
  198. .blocks{margin-bottom:20px;}
  199. /* main content */
  200. #content{
  201. padding:10px;
  202. }
  203. #content p{
  204. margin-bottom:10px;
  205. }
  206. #introIMG{
  207. width:150px;
  208. height:150px;
  209. float:left;
  210. margin-right:8px;
  211. overflow:hidden;
  212. }
  213. #introIMG img{
  214. border:none;
  215. padding:4px 4px 4px 4px;
  216. border:1px solid #BDBDBD;
  217. }
  218. .postMeta{
  219. background:url(images/dot.gif) repeat-x left center;
  220. text-transform:uppercase;
  221. font-size:11px;
  222. text-align:right;
  223. margin-bottom:2px;
  224. }
  225. .postMeta span.date{
  226. background:#FFF;
  227. color:#7F7F7F;
  228. padding:0 2px 0 4px;
  229. }
  230. .postMeta span.comments{
  231. background:#FFF url(images/user.gif) no-repeat left center;
  232. padding-left:15px;
  233. margin-left:2px;
  234. }
  235. .postMeta span.comments a,
  236. .postMeta span.date a{color:#555;}
  237. .post{margin:0 0 15px 0;}
  238. .post h2{
  239. line-height:1.2em;
  240. }
  241. .post h2 a{
  242. width:100%;
  243. display:block;
  244. outline:none;
  245. }
  246. .entry h3{margin:1em 0;}
  247. .post .entry{
  248. line-height:1.4em;
  249. overflow:hidden;
  250. }
  251. .post .entry p{margin:0;}
  252. .post .entry p a{
  253. background:url(images/dot.gif) repeat-x bottom left;
  254. font-weight:bold;
  255. }
  256. .entry blockquote{margin:0 1.3em 0;}
  257. .entry ul{
  258. margin:0 1.3em 0;
  259. list-style:none;
  260. }
  261. .entry li a{
  262. color:#333;
  263. font-weight:bold;
  264. background:url(images/dot.gif) repeat-x bottom left;
  265. }
  266. .entry ul li{
  267. background:url(images/li.gif) no-repeat 0 1px;
  268. padding-left:18px;
  269. margin-bottom:7px;
  270. }
  271. .entry ol{margin:0 1em 0 3em;}
  272. .entry ol li{margin:0 0 7px 0;}
  273. .entry img,.entry a img{border:none;}
  274. .entry a:hover img{border-color:#DFDFDF;}
  275. .entry table tr {padding: 15px 0;}
  276. .entry table tr.alt {background: #eee;}
  277. /* lists */
  278. .rsslinks h3{margin-bottom:5px;}
  279. .rsslinks p{
  280. margin-bottom:5px;
  281. padding-top:5px;
  282. }
  283. .rsslinks ul li{
  284. background:url(images/rss.gif) no-repeat 0 3px;
  285. color:#7F7F7F;
  286. line-height:1.2em;
  287. border-top:1px solid #BBB;
  288. padding:3px 0 4px 16px;
  289. list-style:none;
  290. }
  291. #widgetblock h3{margin-bottom:5px;}
  292. #widgetblock p{
  293. margin-bottom:5px;
  294. padding-top:5px;
  295. }
  296. #widgetblock ul li{
  297. color:#7F7F7F;
  298. line-height:1.2em;
  299. border-top:1px solid #BBB;
  300. padding:3px 0 4px 0;
  301. list-style:none;
  302. }
  303. /* pagination */
  304. #pagination{
  305. color:#7F7F7F;
  306. font-size:11px;
  307. text-transform:uppercase;
  308. margin-bottom:10px;
  309. margin-top:40px;
  310. text-align:right;
  311. }
  312. #pagination p,#pagination img{vertical-align:middle;}
  313. #pagination a img{
  314. border:none;
  315. margin:0 0 3px 2px;
  316. }
  317. /* comments */
  318. #comments{
  319. width:435px;
  320. padding:12px 0 0 0;
  321. }
  322. #comments h3,
  323. h3#respond{
  324. color:#555;
  325. margin-bottom:7px;
  326. }
  327. ol.commentslist{
  328. list-style:none;
  329. margin:5px 0 12px;
  330. }
  331. .commentslist li{
  332. background:#FFF url(images/lgrey_diag.gif) repeat top left;
  333. border:1px solid #BBB;
  334. margin-bottom:7px;
  335. padding:7px 0;
  336. }
  337. .commentslist li a{
  338. font-weight:bold;
  339. background:url(images/dot.gif) repeat-x bottom left;
  340. }
  341. .commentslist li.alt{background:#FFF;}
  342. .commentslist li:hover{border-color:#888;}
  343. .commentslist .comment_text{
  344. margin:0 7px;
  345. line-height:1.4em;
  346. overflow:hidden;
  347. }
  348. .comment_text p,.comment_text ul,.comment_text ol,.comment_text blockquote{margin:1em 0;}
  349. .comment_text ul,.comment_text ol,.comment_text blockquote{margin:0 1em;}
  350. p.author_meta{
  351. font-weight:bold;
  352. text-transform:uppercase;
  353. margin:0 0 0 7px;
  354. }
  355. p.post_meta{
  356. font-size:11px;
  357. text-transform:uppercase;
  358. text-align:right;
  359. margin:0 7px 0 0;
  360. }
  361. .commentslist li.author{
  362. background:#333;
  363. color:#CCC;
  364. }
  365. .commentslist li.author a{color:#DDD;}
  366. .commentslist li.author a:hover{color:#FFF;}
  367. #comments_closed{
  368. background:#333;
  369. color:#ccc;
  370. padding:7px 0;
  371. margin-top:12px;
  372. line-height:1.5em;
  373. }
  374. p.nocomments{margin:0 12px 0 7px;}
  375. p.nocomments a{
  376. color:#ddd;
  377. font-weight:bold;
  378. text-decoration:underline;
  379. }
  380. p.nocomments a:hover{color:#FFF;}
  381. ol.pingslist{
  382. margin:1.5em 2em;
  383. font-size:12px;
  384. }
  385. .pingslist li{
  386. color:#7F7F7F;
  387. margin:0 0 7px 0;
  388. }
  389. .pingslist li a{
  390. font-weight:bold;
  391. background:url(images/dot.gif) repeat-x bottom left;
  392. }
  393. #commentform p{margin:1em 0;}
  394. #commentform p a{
  395. font-weight:bold;
  396. background:url(images/dot.gif) repeat-x bottom left;
  397. }
  398. #author,#email,#url,#comment{
  399. font:1.1em arial,helvetica,verdana,sans-serif;
  400. border:1px solid #BBB;
  401. padding:2px;
  402. }
  403. #comment{width:429px;overflow:auto;}
  404. #commentform p small{
  405. font-size:10px;
  406. color:#7F7F7F;
  407. }
  408. .commentslist code{background:transparent;}
  409. /* footer */
  410. #footer p{
  411. padding-top:7px;
  412. padding-bottom:50px;
  413. }
  414. #footer p a{
  415. font-weight:bold;
  416. color:#333;
  417. }
  418. /* floats */
  419. .floatleft{
  420. float:left;
  421. margin:3px 7px 0 0;
  422. }
  423. .floatright{
  424. float:right;
  425. margin:3px 0 0 7px;
  426. }
  427. .right{float:right;}
  428. .left{float:left;}
  429. .clear{clear:both;}
  430. .fix:after{
  431. content:".";
  432. display:block;
  433. height:0;
  434. clear:both;
  435. visibility:hidden;
  436. }
  437. .fix{display:inline-block;}
  438. * html .fix{height:1%;}
  439. .fix{display:block;}
  440. /* TABS */
  441. /* HOME CATEGORY TABS (also see tabs section at bottom of stylesheet) */
  442. #main #main-categories {
  443. clear: left;
  444. float: left;
  445. display: block;
  446. width: 525px;
  447. margin: 0 0 10px 0;
  448. }
  449. .tabs-block {
  450. clear: left;
  451. float: left;
  452. width: 250px;
  453. padding: 0;
  454. margin: 0 0 10px 0;
  455. display: block;
  456. }
  457. .tabbed {
  458. width: 100%;
  459. overflow: hidden;
  460. padding: 0;
  461. margin: 0;
  462. background: transparent;
  463. border: none;
  464. }
  465. .tabbed ul.tabs {
  466. overflow: hidden;
  467. display: block;
  468. position: relative;
  469. top: 0;
  470. left: 0;
  471. z-index: 999;
  472. list-style-type: none;
  473. margin: 0;
  474. padding: 0;
  475. width: 100%;
  476. background: transparent;
  477. }
  478. .tabbed ul.tabs li {
  479. display: inline;
  480. float: left;
  481. padding: 0;
  482. margin: 0 .3em 0 0;
  483. }
  484. .tabbed ul.tabs li a {
  485. font-weight: bold;
  486. display: block;
  487. margin: 0;
  488. padding: 5px .8em;
  489. background:#eee; /* #eee;*/
  490. border: 1px solid #ccc;
  491. }
  492. .tabs-block ul.tabs li a { padding: 5px .7em; }
  493. .tabbed ul.tabs li a:hover {
  494. background: #BDBDBD ;
  495. text-decoration: none;
  496. }
  497. .tabbed ul.tabs li a.tab-current {
  498. background: #fff;
  499. border-bottom: 1px solid #fff;
  500. }
  501. .tabs-block .tabbed div, #main .tabbed .c {
  502. overflow: hidden;
  503. display: block;
  504. position: relative;
  505. left: 0;
  506. top: -1px;
  507. z-index: 0;
  508. clear: left;
  509. width: 100%;
  510. margin: 0;
  511. padding: 5px 0;
  512. border: 1px solid #ccc;
  513. background:  #fff;
  514. display: none;
  515. }
  516. div.t2, div.t3, div.t4, div.t5, div.c2, div.c3, div.c4, div.c5, div.c6, div.c7, div.c8, div.c9, div.c10  { display: none; }
  517. .tabs-block .tabbed div.t1, #main .tabbed div.c1 {
  518. display: block;
  519. }
  520. .tabs-block .tabbed div { width: 500px; }
  521. .tabbed div ul {
  522. overflow: hidden;
  523. padding: 4px 0 2px 0;
  524. margin: 0;
  525. background: #fff;
  526. }
  527. .tabbed div ul li {
  528. clear: left;
  529. background: transparent;
  530. }
  531. .tabbed div ul li a {
  532. font-weight: normal;
  533. width: 97%;
  534. display: block;
  535. padding: 2px 0 2px 12px;
  536. background: transparent;
  537. border: none;
  538. }
  539. .tabbed div ul li a:hover { text-decoration: underline; }
  540. /* HOME CATEGORIES TABS */
  541. #home-categories {
  542. overflow: hidden;
  543. }
  544. #main .tabbed .c {
  545. width: 525px;
  546. }
  547. #onglets {
  548. margin:10px;
  549. /*float:left*/
  550. }
  551. .tabbed .post {
  552. float: left;
  553. clear: none;
  554. width: 47%;
  555. margin: 5px 1%;
  556. padding: 0;
  557. }
  558. /* gestion des images dans les onglets!!!! Ajout STEF */
  559. .tabbed .post  img {
  560. float:left;
  561. margin:3px 10px 4px 0pt;
  562. border: 1px solid #000000;
  563. padding: 1px;
  564. }
  565. /* fin ajout stef */
  566. .tabbed .post h3 {
  567. width: 97%;
  568. font-size: 1em;
  569. margin: 0 0 0 5px;
  570. padding: 0;
  571. text-transform:capitalize;
  572. }
  573. .tabbed .post h3 a {
  574. font-weight: bold;
  575. font-size: 1em;
  576. font-family:12px arial,helvetica,verdana,sans-serif;;
  577. letter-spacing:0;
  578. color:#000000;
  579. }
  580. .tabbed .post h3 a:hover {
  581. font-weight: bold;
  582. color:#7F7F7F;
  583. }
  584. .tabbed .post .entry {
  585. margin: 0 0 0 5px;
  586. padding: 0;
  587. }
  588. .tabbed .post .entry p { margin: 0; padding: 0; }


 
c'est ou que je dois modifier cela?
 
c'est cela?  
 
h1{
font-size:55px;
font-family:"Times New Roman", Times, serif;
font-weight:normal;
 
?

Reply

Marsh Posté le 16-04-2010 à 10:45:48    

Non car ça va cibler tous les H1 de la page si il y en a plsrs.
Soit tu cibles plus précisément avec une une nouvelle règle
#header h1
 
Soit tu ajoutes ces propriétés à #header h1 a, ça devrait marcher aussi (j'ai pas regardé le code en détail)


---------------
userstyles HFR : alléger l'accueil du forum; réduire les img https des quotes. Script AHK ImageFloodHFR
Reply

Marsh Posté le 16-04-2010 à 10:58:44    

#header h1 a{
width:400px;
float:left;
margin:0;
}
 
ok, trouvé.
 
je rajoute ca : text-indent:-9999px; et un background?

Reply

Marsh Posté le 16-04-2010 à 11:00:56    

oui la prop text-indent et l'image-bannière que tu voulais dans une prop  background.


---------------
userstyles HFR : alléger l'accueil du forum; réduire les img https des quotes. Script AHK ImageFloodHFR
Reply

Marsh Posté le 16-04-2010 à 11:13:45    

#header h1 a{
width:400px;
float:left;
margin:0;
background : url("http://img594.imageshack.us/img594/5452/logoff1.gif" ) no-repeat 0 0;  
text-indent:-9999px;
}
 
 
Désolé, j'y connais pas grand chose, c'est bon comme indiqué ci dessus?

Reply

Marsh Posté le 16-04-2010 à 11:24:40    

t'as pas défini le height


Message édité par Skopos le 16-04-2010 à 11:25:36

---------------
userstyles HFR : alléger l'accueil du forum; réduire les img https des quotes. Script AHK ImageFloodHFR
Reply

Marsh Posté le 16-04-2010 à 11:30:06    

#header h1 a{  
width:468px;  
height : 70px;
float:left;  
margin:0;  
background : url("http://img63.imageshack.us/img63/4806/logo3nf.jpg" ) no-repeat 0 0;  
text-indent:-9999px;  
}  
 
 
:??:

Reply

Marsh Posté le 16-04-2010 à 11:32:28    

teste :spamafote:


---------------
userstyles HFR : alléger l'accueil du forum; réduire les img https des quotes. Script AHK ImageFloodHFR
Reply

Marsh Posté le 16-04-2010 à 11:39:27    

héhé, pas mal du tout skopos :D
 
la bannière est à revoir mais là ca commence à être plutôt bon :D

Reply

Marsh Posté le 16-04-2010 à 11:48:42    

j'ai pas ce qu'il faut sur cet ordi pour regarder mieux mais t'as le principe de base.

 

En passant, héberge ta banière ailleurs que sur imageshack car vu la tendance de ce dernier à partir en sucette...


Message édité par Skopos le 16-04-2010 à 11:48:55

---------------
userstyles HFR : alléger l'accueil du forum; réduire les img https des quotes. Script AHK ImageFloodHFR
Reply

Marsh Posté le 16-04-2010 à 11:50:55    

bonjour a tous !
 
j'ai fait un site normal en HTML avec l'acceuil, plusieur pages ect...
 
Mais je sais plus du tout comment je peut le mettre en ligne =(
quelqu'un peut m'aider svp Merci beaucoup

Reply

Marsh Posté le 16-04-2010 à 12:03:52    

voilà, après plusieurs essais de taille de bannière, j'arrive à un truc sympa ;)
 
:jap:

Reply

Marsh Posté le 16-04-2010 à 12:04:13    

4ur4 a écrit :

bonjour a tous !
 
j'ai fait un site normal en HTML avec l'acceuil, plusieur pages ect...
 
Mais je sais plus du tout comment je peut le mettre en ligne =(
quelqu'un peut m'aider svp Merci beaucoup


perso, je suis chez 1&1

Reply

Marsh Posté le 16-04-2010 à 13:31:16    


 
 
Non, moi je ne suis pas d'acc avec les propositions ci-dessus.
 
C'est dans le Header que ca se passe (ou en tous cas qu'il faut essayer au départ... :o )
 
Tu as :
 
/* header */
#header{
background:url(images/headerbg.jpg) no-repeat 0 0;
padding:5px 0;
}
 
 
le but sera de virer ce headerbg.jpg pour le remplacer par ton image (par ex monentete.jpg)
 
Crées ton image monentete.jpg, autour de la taille 850x85 pixels (on verra plus précisément plus tard),  
et tu la mets en ligne par ex chez imageshack si tu veux...
 
Tu écris ensuite :
 
/* header */
#header{
background : url("http://imgXXX.imageshack.us/imgXXX/XXXX/monentete.jpg" ) no-repeat 0 0;
padding:5px 0;
}
 
Et tu regardes et nous dis ce qui se passe...  :o
 
-------------------------------
 
Edit : bon si tu es ok avec le résultat, c'est le principal et oublie ma soluce :o  :)
 
Autre enregistreur de photos : casimages (par exemple)


Message édité par toum_toum le 16-04-2010 à 13:32:54

---------------
“Never forget that England imposed this war on us" - Goebbels 1943 . “Et maintenant, la météo" - Soloviev 2023
Reply

Marsh Posté le 16-04-2010 à 13:42:31    

:jap: pour ton idée mais ta solution fait que acceuil/forum/a propos sont décalés tout en haut ;)

Reply

Marsh Posté le 16-04-2010 à 14:18:35    


Il s'appelle comment ton thème initial stp ?


---------------
“Never forget that England imposed this war on us" - Goebbels 1943 . “Et maintenant, la météo" - Soloviev 2023
Reply

Marsh Posté le 21-04-2010 à 14:41:36    

de koi ?? J'ai rien compris lol

Reply

Marsh Posté le 28-04-2010 à 00:50:44    

SAlut !!!
 
J'ai fait une pages web en HTML avec des images et tout le bazzard...
 
Comment je peut mettre ces pages sur le NET ???
 
Je suis Chez orange. Expliquez bien SVP ^^
 
MERCIIIIIIIIIIIIIIII

Reply

Marsh Posté le 29-04-2010 à 13:43:18    

Repondez pas tous a la fois.... 4___4

Reply

Marsh Posté le 29-04-2010 à 13:55:33    

T'as qu'à chercher.


---------------
userstyles HFR : alléger l'accueil du forum; réduire les img https des quotes. Script AHK ImageFloodHFR
Reply

Marsh Posté le 01-05-2010 à 07:27:21    

degage stp tu me sert a rien  
qui peut me repondre SVP ??

Reply

Marsh Posté le 01-05-2010 à 09:56:13    

tu serais pas un assisté incapable de lancer une recherche par lui-même tu aurais déjà mis ta page html en ligne.


---------------
userstyles HFR : alléger l'accueil du forum; réduire les img https des quotes. Script AHK ImageFloodHFR
Reply

Marsh Posté le 01-05-2010 à 10:44:55    

4ur4 a écrit :

degage stp tu me sert a rien  
qui peut me repondre SVP ??


Personne car déjà tu est sur le topic de qq'un d'autre... regarde le sujet.
 
D'autre part un minimum d'effort ne fait de mal à personne.
 
Pour terminer, ce ton.... :heink:


---------------
“Never forget that England imposed this war on us" - Goebbels 1943 . “Et maintenant, la météo" - Soloviev 2023
Reply

Marsh Posté le 01-05-2010 à 21:04:19    


 
Salut !  [:linouille]  
 

4ur4 a écrit :

degage stp tu me sert a rien


 
Au revoir !  [:zytra]

Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed