I am editing a template file and wanted to know that I have to edit for pictures of the menus, and every tbl_h_c.gif to resize.
And also that I have to change so that the news does not have the same images that the pictures of the menus, edit the CSS and that, but not files that are: S
Thank you and I hope to see me well explained
sorry for my english, google translation rolf ^^
What Files?
Subject: Re: What Files?
If I understand well... you should try to look into mg_themes.cfg (or your_template_folder.cfg).
xox wrote: [View Post]
If I understand well... you should try to look into mg_themes.cfg (or your_template_folder.cfg).
Subject: Re: What Files?
You need to edit both CSS and CFG files.
if(in_array($color, $squared_colors))
{
/*
$img_fade = '';
$img_fade_nm = '';
*/
$images['tbl_h_l'] = '<table class="roundedtop" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="27" align="right" valign="bottom"><img class="topcorners" src="' . $current_template_images . 'tbl_h_l.gif" width="27" height="29" alt="" /></td>';
$images['tbl_h_c'] = '<td class="roundedhc" width="100%" align="center">';
$images['tbl_h_r'] = '</td><td width="27" align="left" valign="bottom"><img class="topcorners" src="' . $current_template_images . 'tbl_h_r.gif" width="27" height="29" alt="" /></td></tr></table>';
$images['tbl_b_l'] = '';
$images['tbl_b_c'] = '';
$images['tbl_b_r'] = '';
$images['tbl_f_l'] = '<table class="roundedbottom" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="10" align="right" valign="top"><img src="' . $current_template_images . 'tbl_f_l.gif" width="10" height="12" alt="" /></td>';
$images['tbl_f_c'] = '<td class="roundedfc" width="100%" align="center">';
$images['tbl_f_r'] = '</td><td width="10" align="left" valign="top"><img src="' . $current_template_images . 'tbl_f_r.gif" width="10" height="12" alt="" /></td></tr></table>';
$images['tbl_h_l_house'] = $images['tbl_h_l'];
$images['tbl_h_l_alt'] = $images['tbl_h_l'];
$images['tbl_h_r_alt'] = $images['tbl_h_r'];
$images['tbl_h_l_small_b'] = $images['tbl_h_l'];
$images['tbl_h_r_small_b'] = $images['tbl_h_r'];
$images['tbl_h_l_small_y'] = $images['tbl_h_l'];
$images['tbl_h_r_small_y'] = $images['tbl_h_r'];
}
{
/*
$img_fade = '';
$img_fade_nm = '';
*/
$images['tbl_h_l'] = '<table class="roundedtop" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="27" align="right" valign="bottom"><img class="topcorners" src="' . $current_template_images . 'tbl_h_l.gif" width="27" height="29" alt="" /></td>';
$images['tbl_h_c'] = '<td class="roundedhc" width="100%" align="center">';
$images['tbl_h_r'] = '</td><td width="27" align="left" valign="bottom"><img class="topcorners" src="' . $current_template_images . 'tbl_h_r.gif" width="27" height="29" alt="" /></td></tr></table>';
$images['tbl_b_l'] = '';
$images['tbl_b_c'] = '';
$images['tbl_b_r'] = '';
$images['tbl_f_l'] = '<table class="roundedbottom" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td width="10" align="right" valign="top"><img src="' . $current_template_images . 'tbl_f_l.gif" width="10" height="12" alt="" /></td>';
$images['tbl_f_c'] = '<td class="roundedfc" width="100%" align="center">';
$images['tbl_f_r'] = '</td><td width="10" align="left" valign="top"><img src="' . $current_template_images . 'tbl_f_r.gif" width="10" height="12" alt="" /></td></tr></table>';
$images['tbl_h_l_house'] = $images['tbl_h_l'];
$images['tbl_h_l_alt'] = $images['tbl_h_l'];
$images['tbl_h_r_alt'] = $images['tbl_h_r'];
$images['tbl_h_l_small_b'] = $images['tbl_h_l'];
$images['tbl_h_r_small_b'] = $images['tbl_h_r'];
$images['tbl_h_l_small_y'] = $images['tbl_h_l'];
$images['tbl_h_r_small_y'] = $images['tbl_h_r'];
}
Subject: Re: What Files?
xox,
In case you missed it, you have to remove these height and width from the .css too. ;)
In case you missed it, you have to remove these height and width from the .css too. ;)
Code: [Download] [Hide] [Select]
.roundedtop td {
height: 29px;
white-space: nowrap;
/*
background: none;
*/
}
.topcorners {
vertical-align: bottom;
width: 27px;
height: 29px;
}
height: 29px;
white-space: nowrap;
/*
background: none;
*/
}
.topcorners {
vertical-align: bottom;
width: 27px;
height: 29px;
}
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.0891s (PHP: 20% SQL: 80%)
SQL queries: 10 - Debug Off - GZIP Enabled