Index du Forum » » Modifications ou correction de thèmes existants

Auteur

Gestion des titres de la partie centrale avec Pdst
Skippy
398      
 Styles Team (TST)

  Posté : 28-03-2010 12:35

tu es parti sur quelle base ?

normalement pour les articles tu dois regarder index-news.html et index-news.html, les classes utilisées.

Ce n'est en tout cas pas #col_princ

Un exemple (dans exagone)


/************************************************************************
Affichage des Articles en page Index et Detail-news
*************************************************************************/

.article_bloc {/*Le contenant*/
background: !url(!../images/LBlocs/bg_titres_articles.png) repeat-x;
margin: 0 0 0 5px;
height: auto;
}
.article_bloc h2 a {/*Le contenant*/
color: #ffffff;
text-decoration: underline;
}
.article_bloc h2 a:hover{/*Le contenant*/
color: #ffffff;
text-decoration: none;
}
.article_sujet {
float: right;
width: 80px;
height: 80px;
padding: 10px 20px 10px 10px;
}
.article_texte {
min-height: 100px;
height: auto !important;
padding: 5px 5px 5px 5px;
background: #929292;
border-left:2px solid #adadad;
border-right:2px solid #adadad;
color: #000;
}
.note { /* Mise en forme si Note */
background: #929292;
border-left:2px solid #adadad;
border-right:2px solid #adadad;
text-align:center;
font-style: italic;
font-size: .9em;
padding: 3px;
margin: 2px;
}
.article_pied { /*Mise en forme du Pied*/
background: #adadad;
padding: 5px;
text-align: center;
border-top: 2px dashed #adadad;
border-left:2px solid #adadad;
border-right:2px solid #adadad;
}
#footer_articles {
background: !url(!../images/LBlocs/bgf_titres_articles.png) repeat-x;
height: 20px;
}
.article_bloc a.noir, .article_bloc a.noir:visited, .article_bloc a.noir:active {
color: #f7f1fd;
font-weight: bold;
text-decoration: underline;
}
.article_bloc a.noir:hover {
color: #f7f1fd;
font-weight: bold;
text-decoration: none;
}
.article_pied a.noir, .article_pied a.noir:visited, .article_pied a.noir:active {
color: #000;
font-weight: normal;
text-decoration: underline;
}
.article_pied a.noir:hover {
color: #000;
font-weight: normal;
text-decoration: none;
}



Cet article provient de NPDS Thèmes

http://styles.npds.org/viewtopic.php?topic=58&forum=4