pragmaMx Support Forum

pragmaMx => Coder und Bastlerecke => Thema gestartet von: diabolo am 09 November 2007, 12:00:13

Titel: Nice Faq
Beitrag von: diabolo am 09 November 2007, 12:00:13
Hi  ;)

This is changed for my faq, ex:
http://www.pragmamx.fr/modules.php?name=FAQ&myfaq=yes&id_cat=6


round corner only with FF (border-radius)

Simply replace index.php in /modules/FAQ/ by attachement

and add css code  to your style.css of your template
/* FAQ */
.faq_categories
{
    margin: 4px 0 8px 0;
padding: 4px 0 4px 1em;
font-weight: bold;
    background: #E0E0E0;
-moz-border-radius: 6px;
border-radius: 6px;
color: #893;
}

div.liste_question
{
    margin: 0 15px;
    padding-bottom: 15px;
    clear: both;
}


div.liste_question ul
{
    list-style: square inside;
    color: #777;
}

div.liste_question ul li a
{
    color: #777;
    text-decoration: none;
}

div.liste_question ul li a:hover
{
    text-decoration: underline;
}

div.reponses h3
{
    padding: 6px;
    background: #e8efb9;
    font-weight: bold;
    -moz-border-radius: 6px;
border-radius: 6px;

}

div.reponses
{
    margin: 10px 15px;
    padding: 10px;
    background: #F3F9E8;
    -moz-border-radius: 10px;
border-radius: 10px;
}




p.pathview
{
    padding: 8px;
    text-align: left;
    font-style: italic;
    font-weight: bold;
    font-size: 14px;
    background: #D0D0D0;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
p.pathview  a
{
    color: #777;
    font-style: italic;
    font-weight: bold;
    font-size: 16px;
}
p.pathview a:hover
{


You can change all colors in this css part of code, ex:
background: #D0D0D0;   -> background: #FFFFFF;

etc....