Search for this in theme.php
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]function render_page($license = false) {
global $settings, $main_style, $locale, $mysql_queries_time;
[/syntaxhighlighter]
Change to:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]function render_page($license = false) {
global $settings, $main_style, $locale, $mysql_queries_time;
echo "<center>";[/syntaxhighlighter]
Search for:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]if (!$license) { echo "<br /><br />\n".showcopyright(); }
echo "</td>\n";
echo "</tr>\n</table>\n";[/syntaxhighlighter]
Change to:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]if (!$license) { echo "<br /><br />\n".showcopyright(); }
echo "</td>\n";
echo "</tr>\n</table></center>\n";[/syntaxhighlighter]
All of the code mentioned above, is located under the render_page function. This will allow your page to render as being centered for the Gillette theme.
0 replies