16
Mods & Plugins (Requests & Discussions) / Changing bg color of new images on homepage..how???
« on: December 30, 2005, 04:46:13 AM »
i want to change the bg color of the new images table to white. How do i do that? do i edit iptc_bit.html???
if not do i have to edit this code from index.php??
thanks in advance and sorry if this has been brought up already or if im just wasting your time with this extremely simple question
if not do i have to edit this code from index.php??
Code: [Select]
else {
$new_images = "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\">";
$count = 0;
$bgcounter = 0;
while ($image_row = $site_db->fetch_array($result)){
if ($count == 0) {
$row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
$new_images .= "<tr class=\"imagerow".$row_bg_number."\">\n";
thanks in advance and sorry if this has been brought up already or if im just wasting your time with this extremely simple question