Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Joges - huhtikuu 01, 2006, 12:23:17 IP

Otsikko: The blue sides in here..
Kirjoitti: Joges - huhtikuu 01, 2006, 12:23:17 IP
I have one thing in my mind and I would like to try it but haven't found the correct file to edit.
How has these blue sides been added on the left and right side of the forum?

Is the forum inserted inside a table, the most centre cell? Can't find the right file to edit:\
phpBB has spoiled my brains, just like Windows did.. but luckily I can use linux better than edit these SMF files ;)
Otsikko: Re: The blue sides in here..
Kirjoitti: Deaks - huhtikuu 01, 2006, 12:26:08 IP
the rc2 default theme?
Otsikko: Re: The blue sides in here..
Kirjoitti: Joges - huhtikuu 01, 2006, 02:18:44 IP
Yes, exactly.
Otsikko: Re: The blue sides in here..
Kirjoitti: Deaks - huhtikuu 01, 2006, 02:25:43 IP
you can find it in the index.template.php

</head>
<body>';

echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>';


And your style.css to change the blue