Bonjour,
je n'ai pas trouvé le moyen par exemple pour la box search, d'y ajouter un fond différents des autres box. Car par défaut toutes les box utilisent le même style et je n'ai pas trouvé comment appeler un style différent pour une box en particulier.
Merci d'avance !!
Quelle est ta version osCommerce ?
LA MS2FR
Modifie ton fichier "stylesheet.css" dans ta boutique.
tu dois avoir un fichier search.php dans le dossier boxes.
Dans ce fichier tu dois avoir en fin de page ce code :
CODE |
// Nom des css pour l'intérieure de la boxe et le cadre // new infoBox($info_box_contents, nom_de_la_css_pour_l'intérieure, nom_de_la_css_pour_le_cadre); new infoBox($info_box_contents, infoBoxContentsSearch, infoBoxSearch); |
Merci pour l'info !!
j'ai rajouter par exemple dans includes/boxes/categories.php a la fin du fichier cette ligne : new infoBox($info_box_contents, infoBoxContentscateg);
et dans stylesheet.css cette ligne :
.infoBoxContentscateg {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
background: #000000;
color: #FFFFFF;
}
mais ca ne prend pas pour la boxe categorie, j'ai toujours le meme fond que sur les autres boxes, y a quelque chose de faux ?
HELP PLEASE
Merci
Bonjour,
le code fournit plus haut n'est valable que pour la version MS2 DELABALLE : http://www.delaballe.com/oscfr/fichiers/BoxImageThemaMS2fr_V2.7.zip
Have fun ...
il est possible comme meme d'avoir des couleurs de boxes differents sans passer par une contrib non ?
j'aimerais que les boxes de gauches aient une couleurs et les menu au centre une autre mais je galere pas mal, je trouve pas ce qui donne la couleur des boxes en dehors du stylesheet.
quelqu'un peut m'aider ?
ci dessous par exemple le code de includes/boxes/categories.php
qu'est ce qui prend le dessus encore la dedans ? je n'arrive pas a mettre le fond totalement en noir par exemple, il me laisse le fond toujours comme defini dans stylesheet
je comprend pas ou c'est
<tr bgcolor="000000">
<td bgcolor="000000">
<table bgcolor="000000" border="0" width="100%" cellspacing="0" cellpadding="0">
<tr bgcolor="000000">
<td><table bgcolor="000000" border="0" width="100%" cellspacing="0" cellpadding="0">
<tr bgcolor="000000">
</tr>
<tr bgcolor="000000">
<td bgcolor="000000">
<?php
function tep_show_category($counter) {
global $tree, $categories_string, $cPath_array;
for ($i=0; $i<$tree[$counter]['level']; $i++) {
$categories_string .= " ";
}
$categories_string .= '<a href="';
if ($tree[$counter]['parent'] == 0) {
$cPath_new = 'cPath=' . $counter;
} else {
$cPath_new = 'cPath=' . $tree[$counter]['path'];
}
$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">';
if (isset($cPath_array) && in_array($counter, $cPath_array)) {
$categories_string .= '<b>';
}
// display category name
$categories_string .= $tree[$counter]['name'];
if (isset($cPath_array) && in_array($counter, $cPath_array)) {
$categories_string .= '</b>';
}
if (tep_has_category_subcategories($counter)) {
$categories_string .= '';
}
$categories_string .= '</a><br><br><img src=images/entre_catego.jpg>';
if (SHOW_COUNTS == 'true') {
$products_in_category = tep_count_products_in_category($counter);
if ($products_in_category > 0) {
$categories_string .= ' (' . $products_in_category . ')';
}
}
$categories_string .= '<br><br>';
if ($tree[$counter]['next_id'] != false) {
tep_show_category($tree[$counter]['next_id']);
}
}
?>
<!-- categories //-->
<tr bgcolor="000000">
<td bgcolor="000000">
<?php
$categories_string = '';
$tree = array();
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name");
while ($categories = tep_db_fetch_array($categories_query)) {
$tree[$categories['categories_id']] = array('name' => $categories['categories_name'],
'parent' => $categories['parent_id'],
'level' => 0,
'path' => $categories['categories_id'],
'next_id' => false);
if (isset($parent_id)) {
$tree[$parent_id]['next_id'] = $categories['categories_id'];
}
$parent_id = $categories['categories_id'];
if (!isset($first_element)) {
$first_element = $categories['categories_id'];
}
}
//------------------------
if (tep_not_null($cPath)) {
$new_path = '';
reset($cPath_array);
while (list($key, $value) = each($cPath_array)) {
unset($parent_id);
unset($first_id);
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$value . "' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name");
if (tep_db_num_rows($categories_query)) {
$new_path .= $value;
while ($row = tep_db_fetch_array($categories_query)) {
$tree[$row['categories_id']] = array('name' => $row['categories_name'],
'parent' => $row['parent_id'],
'level' => $key+1,
'path' => $new_path . '_' . $row['categories_id'],
'next_id' => false);
if (isset($parent_id)) {
$tree[$parent_id]['next_id'] = $row['categories_id'];
}
$parent_id = $row['categories_id'];
if (!isset($first_id)) {
$first_id = $row['categories_id'];
}
$last_id = $row['categories_id'];
}
$tree[$last_id]['next_id'] = $tree[$value]['next_id'];
$tree[$value]['next_id'] = $first_id;
$new_path .= '_';
} else {
break;
}
}
}
tep_show_category($first_element);
$info_box_contents = array();
$info_box_contents[] = array('text' => $categories_string);
new infoBox($info_box_contents, infoBoxContentscateg);
echo $shadow;
?>
</td>
</tr>
<!-- categories_eof //-->
<tr bgcolor="000000">
</tr>
</table>
</table>
</td>
</tr>
C'est pas dans la FAQ cela. [ndlr xaglo ] [edit fissiaux : chose promise, chose due]
T'aurais pas une image qui serait plus parlante.
je viens de regarder dans la faq j'ai pas vu grand chose, en faite ce qu'il se passe c'est que d'apres le code que j'ai mis plus haut tout devrais apparaitre en noir non ?
voila en dessous a quoi cela ressemble, le tour de la boxe est noir mais l'interieur conserve ce qui lui est donner par le fichier stylesheet, ou est ce que je peut modifier cela de sorte que le stylesheet n'intervient plus dans le design de cette boxe ?
merci de votre aide
Normalement, c'est avec la classe infoBoxContentscateg, mais visiblement, tu l'as déjà fait.
Peux-tu nous afficher le code html généré de la boxe categorie, on verra peut-être quelque chose.
ben j'ai mis le code de la boxe categorie au dessus, moi j'ai pas mal parcouru ce fichier mais je ne vois pas d'ou ca viens.
merci
C'est le code html généré (afficher la source) qu'il faut, notamment pour voir si ta lcasse css arrive jusqu'à ton tableau ..
Ok ok faut desfois m'expliquer longtemps lol
voila :
<html dir="LTR" lang="fr">
<head>
<meta name="robots" content="index, follow">
<META name="revisit-after" content="15 days">
<META name="author" content="">
<script language="javascript" src="includes/general.js"></script>
<script language="javascript"><!--
function popupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=680,height=40,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
<script language="javascript" src="includes/general.js"></script>
<script language="javascript"><!--
function popupWindow4(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=680,height=175,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
<script language="javascript" src="includes/general.js"></script>
<script language="javascript"><!--
function popupWindo(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=710,height=400,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
<script LANGUAGE="JavaScript1.2" SRC="includes/menu_animation.js"></SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<base href="/">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr class="header">
<td valign="middle"><a href="/index.php"><img src="images/logo.jpg" border="0" alt="" title=" "></a></td>
</tr>
</table>
<div align="center"></div>
<table width="100%" height="24" border="0" cellpadding="1" cellspacing="0">
<tr class="headerNavigation">
<td class="headerNavigation"> <a href="" class="headerNavigation">Accueil</a> » <a href="/index.php" class="headerNavigation">Catalogue</a></td>
<td align="right" class="headerNavigation"><a href="/account.php" class="headerNavigation">Mon compte</a> | <a href="/shopping_cart.php" class="headerNavigation">Voir panier</a> | <a href="/checkout_shipping.php" class="headerNavigation">Commander</a> </td>
</tr>
</table>
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
<tr>
<td width="150" valign="top"><table border="0" width="150" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<tr bgcolor="000000">
<td bgcolor="000000">
<table bgcolor="000000" border="0" width="100%" cellspacing="0" cellpadding="0">
<tr bgcolor="000000">
<td><table bgcolor="000000" border="0" width="100%" cellspacing="0" cellpadding="0">
<tr bgcolor="000000">
</tr>
<tr bgcolor="000000">
<td bgcolor="000000">
<!-- categories //-->
<tr bgcolor="000000">
<td bgcolor="000000">
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBox">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td class="boxText"><a href="/index.php?cPath=150">Espace 1</a><br><br><img src=/images/entre_catego.jpg><br><br><a href="/index.php?cPath=151">Espace 2</a><br><br><img src=/images/entre_catego.jpg><br><br><a href="/index.php?cPath=153">Espace 3</a><br><br><img src=/images/entre_catego.jpg><br><br><a href="/index.php?cPath=152">Espace 4</a><br><br><img src=/images/entre_catego.jpg><br><br></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- categories_eof //-->
<tr bgcolor="000000">
</tr>
</table>
</table>
</td>
</tr><!-- information //-->
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt=""></td>
<td width="100%" height="14" class="infoBoxHeading">Informations</td>
<td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBox">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td class="boxText"><a href="/shipping.php">Expédition & retours</a><br><a href="/privacy.php">Confidentialité et vie privée</a><br><a href="/conditions.php">Conditions générales de vente</a><br><a href="/contact_us.php">Contactez-nous</a></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- information_eof //-->
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"></td>
<td class="pageHeading" align="right"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="main"></td>
</tr>
<tr>
<td><div align="center">
<table width="0%" border="0" align="center">
<tr>
<td><div align="center"><a href="/index.php?cPath=150"><img src="/images/espace_1.jpg" alt="Espace 1" border="0"></a></div></td>
<td><div align="center"><a href="/index.php?cPath=151"><img src="/images/espace_2.jpg" alt="Espace 2" border="0"></a></div></td>
</tr>
<tr>
<td><div align="center"><a href="/index.php?cPath=150"><img src="/images/espace_3.jpg" alt="Espace 3" border="0"></a></div></td>
<td><a href="/index.php?cPath=150"><img src="/images/espace_4.jpg" alt="Espace 4" border="0"></a></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table></td>
<!-- body_text_eof //-->
<td width="150" valign="top"><table border="0" width="150" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<!-- best_sellers //-->
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt=""></td>
<td width="100%" height="14" class="infoBoxHeading">Meilleures ventes</td>
<td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBox">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="1"><tr><td class="infoBoxContents" valign="top">01.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=897">article</a></td></tr><tr><td class="infoBoxContents" valign="top">02.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=760">article</a></td></tr><tr><td class="infoBoxContents" valign="top">03.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=278">article</a></td></tr><tr><td class="infoBoxContents" valign="top">04.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=715">article</a></td></tr><tr><td class="infoBoxContents" valign="top">05.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=343">July</a></td></tr><tr><td class="infoBoxContents" valign="top">06.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=353">article</a></td></tr><tr><td class="infoBoxContents" valign="top">07.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=344">Cassandra</a></td></tr><tr><td class="infoBoxContents" valign="top">08.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=313">Lacy</a></td></tr><tr><td class="infoBoxContents" valign="top">09.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=332">Lydia</a></td></tr><tr><td class="infoBoxContents" valign="top">10.</td><td class="infoBoxContents"><a href="/product_info.php?products_id=329">Sam</a></td></tr></table></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- best_sellers_eof //-->
<!-- search //-->
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt=""></td>
<td width="100%" height="14" class="infoBoxHeading">Recherche rapide</td>
<td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBox">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td align="center" class="boxText"><form name="quick_find" action="/advanced_search_result.php" method="get"><input type="hidden" name="osCsid" value="6a52718c6f80b7eba701d2339ca0bb93" /><input type="text" name="keywords" size="10" maxlength="30" style="width: 120px"> <input type="hidden" name="osCsid" value="6a52718c6f80b7eba701d2339ca0bb93"><input type="image" src="includes/languages/french/images/buttons/button_quick_find.gif?osCsid=6a52718c6f80b7eba701d2339ca0bb93" border="0" alt="Recherche rapide" title=" Recherche rapide "><br>Utilisez des mots-clés pour trouver le produit que vous recherchez.<br><a href="/advanced_search.php"><b>Recherche avancée</b></a></form></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- search_eof //-->
<!-- right_navigation_eof //-->
</table></td>
</tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="footer">
<td class="footer"><font color="#FFFFFF"> mercredi 22 décembre, 2004
</font></td>
<td align="center">
<a class="foot" href="/privacy.php">Confidentialité et vie privée</a>
- <a class="foot" href="/conditions.php">Conditions générales de vente</a>
- <a class="foot" href="/shipping.php">Expédition & retours</a>
- <a class="foot" href="/contact_us.php">Contactez-nous</a>
</td>
<font color="#FFFFFF"><font color="#FFFFFF"></td></font></font>
<td align="right" class="footer"><font color="#CE2689"> 4378 </font></td>
</tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="smallText">
Copyright © 2003-2004 <a href="mailto:" target="_blank"> </a> </td>
</tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"></td>
</tr>
</table><!-- footer_eof //-->
<br>
</body>
</html>
Voilà le code généré pour ta boxe categories :
CODE |
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="/index.php?cPath=150">Espace 1</a><br><br><img src=/images/entre_catego.jpg><br><br><a href="/index.php?cPath=151">Espace 2</a><br><br><img src=/images/entre_catego.jpg><br><br><a href="/index.php?cPath=153">Espace 3</a><br><br><img src=/images/entre_catego.jpg><br><br><a href="/index.php?cPath=152">Espace 4</a><br><br><img src=/images/entre_catego.jpg><br><br></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> |
CODE |
new infoBox($info_box_contents, infoBoxContentscateg); |
CODE |
class infoBox extends tableBox { function infoBox($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => $this->infoBoxContents($contents)); $this->table_cellpadding = '1'; $this->table_parameters = 'class="infoBox"'; $this->tableBox($info_box_contents, true); |
ok faudrais en faire une specifique pour chaque boxe presque, mais on peut pas virer l'appel a cette classe dans le categorie.php que moi j'ai ?
Tu peux essayer cela :
Dans catalog/includes/classes/boxes.php :
juste avant
class infoBoxHeading extends tableBox {
tu rajoutes :
CODE |
class infoBox2 extends tableBox { function infoBox($contents) { $info_box_contents = array(); $info_box_contents[] = array('text' => $this->infoBoxContents2($contents)); $this->table_cellpadding = '1'; $this->table_parameters = 'class="infoBox"'; $this->tableBox($info_box_contents, true); } function infoBoxContents2($contents) { $this->table_cellpadding = '3'; $this->table_parameters = 'class="infoBoxContentscateg"'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); for ($i=0, $n=sizeof($contents); $i<$n; $i++) { $info_box_contents[] = array(array('align' => (isset($contents[$i]['align']) ? $contents[$i]['align'] : ''), 'form' => (isset($contents[$i]['form']) ? $contents[$i]['form'] : ''), 'params' => 'class="boxText"', 'text' => (isset($contents[$i]['text']) ? $contents[$i]['text'] : ''))); } $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); return $this->tableBox($info_box_contents); } } |
C super sympa, merci beaucoup, tu m'a bien aider, je vais modifier qques fichiers pour arriver a mes fins, je pense que c bon, je devrais plus galerer.
Merci beaucoup encore @++
Voila pour ceux que ca interesse aussi :
!!! faites un backup avant, ma science n'est pas toujours exacte, ces modifs concernent une ms2 !!!
dans includes/boxes/la boxeque tu veut modifier.php
vers la fin du fichier tu remplace :
new infoBox($info_box_contents, infoBoxContents);
echo $shadow;
par
new infoBoxcategorie($info_box_contents, infoBoxContentscategorie);
echo $shadow;
dans includes/classes/boxe.php
rajoute ca :
class infoBoxcategorie extends tableBox {
function infoBoxcategorie($contents) {
$info_box_contents = array();
$info_box_contents[] = array('text' => $this->infoBoxContentscategorie($contents));
$this->table_cellpadding = '0';
$this->table_parameters = 'class="infoBoxcategorie"';
$this->tableBox($info_box_contents, true);
}
function infoBoxContentscategorie($contents) {
$this->table_cellpadding = '3';
$this->table_parameters = 'class="infoBoxContentscategorie"';
$info_box_contents = array();
$info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1')));
for ($i=0, $n=sizeof($contents); $i<$n; $i++) {
$info_box_contents[] = array(array('align' => (isset($contents[$i]['align']) ? $contents[$i]['align'] : ''),
'form' => (isset($contents[$i]['form']) ? $contents[$i]['form'] : ''),
'params' => 'class="boxText"',
'text' => (isset($contents[$i]['text']) ? $contents[$i]['text'] : '')));
}
$info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1')));
return $this->tableBox($info_box_contents);
}
}
puis dans le stylesheet.css ajoute :
.infoBoxcategorie {
background: ;
}
.infoBoxContentscategorie {
background: #FF8E90;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
}
il suffit de modifier les deux derniers parametres dans le stylesheet pour voir la boxe concernée changer de fond, de couleur de texte....
Un immense merci,
Après pratiquement 6 heures de recherches et de tentatives, vos réponses jointes viennent de me permettre de faire ce que je cherchais à faire.
Ca fonctionne
Propulsé par Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)