Problème avec un code pour modifier l'affichage des catégories...
2 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1 • Partagez
Problème avec un code pour modifier l'affichage des catégories...
Bonjour !
Alors que je bidouillais mon template index_box pour obtenir ceci, je rencontre un problème (voire même deux xD) : je n'arrive pas à obtenir le cadre en pointillé qui entoure chaque forum et les sous-forums sur un fond comme sur ma capture d'écran. J'aimerais aussi savoir comment faire la ligne qui sépare le nombre de sujets et de messages du dernier post. Pour le cadre, j'essaye avec une div class mais je ne sais pas du tout où la placer, ni même si il faut faire comme ça... Car je n'obtient pas le résultat voulu.
Voici mon template modifié :
Merci beaucoup !
Alors que je bidouillais mon template index_box pour obtenir ceci, je rencontre un problème (voire même deux xD) : je n'arrive pas à obtenir le cadre en pointillé qui entoure chaque forum et les sous-forums sur un fond comme sur ma capture d'écran. J'aimerais aussi savoir comment faire la ligne qui sépare le nombre de sujets et de messages du dernier post. Pour le cadre, j'essaye avec une div class mais je ne sais pas du tout où la placer, ni même si il faut faire comme ça... Car je n'obtient pas le résultat voulu.
Voici mon template modifié :
- Code:
<link href='http://fonts.googleapis.com/css?family=Over+the+Rainbow' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Parisienne' rel='stylesheet' type='text/css'>
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall">{LAST_VISIT_DATE}
{CURRENT_TIME}
</span>
<!-- END switch_user_logged_in -->
<div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
</td>
<td class="gensmall" align="right" valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>
<a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- END switch_user_logged_in -->
<a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
</td>
</tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="3" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
</tr></table><table class="forumline" width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
</tr>
<!-- END cathead -->
<div class="encadrement"><!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
<!-- END inc -->
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
</span>
</h{catrow.forumrow.LEVEL}>
<div class="description" width="100%">
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div><br/><br/>
<div class="sous_forums"><span class="gensmall"><center>{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</center></span>
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
</div>
<span class="gensmall">
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
</span>
</td>
<td class="row3 over" align="center" valign="middle" height="50"><div style="width:150px;"></div>
<div class="messa_suj"><span class="gensmall">{catrow.forumrow.POSTS} messages dans {catrow.forumrow.TOPICS} sujets.</span></div><br/>
<div class="der_post"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></div>
</td>
</tr>
<!-- END forumrow --></div>
<!-- BEGIN catfoot -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot --></table>
- Code:
.forumline{
box-shadow: 0px 0px 5px #0d1418;
-moz-box-shadow: 0px 0px 5px #0d1418;
-o-box-shadow: 0px 0px 5px #0d1418;
-htm-box-shadow: 0px 0px 5px #0d1418;
-webkit-box-shadow: 0px 0px 5px #0d1418;
}
.encadrement {
border : 1px dotted #000000 }
.sous_forums {
background-color : #ffffff}
Merci beaucoup !
Dernière édition par lly* le Dim 28 Juil 2013 - 14:19, édité 1 fois
Re: Problème avec un code pour modifier l'affichage des catégories...
- Bonjour.
- Le résultat que vous cherchez est un des nombreux tutoriels de Sparrow-Style de Never-Utopia. (www)
Re: Problème avec un code pour modifier l'affichage des catégories...
Ah merci beaucoup !
Sujets similaires
» Problème avec le code Javascript pour le feu d'artifice (code pour les fêtes)
» Code pour modifier les entêtes des parties en majuscules des catégories et des derniers sujets et messages
» Problème avec code des catégories
» Problème avec un code de catégories
» Problème avec un code pour Infobulle
» Code pour modifier les entêtes des parties en majuscules des catégories et des derniers sujets et messages
» Problème avec code des catégories
» Problème avec un code de catégories
» Problème avec un code pour Infobulle
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum