Quote
Ken wrote:
In most cases you can center the banner for most (at least all standard themes) of your themes by just editing 1 file; subheader.php (located in root folder):
Find this code in the bottom and add code in red:Code Download sourcerender_header("[color=red]<center>[/color]<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>[color=red]</center>[/color]");
render_header("[color=red]<center>[/color]<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>[color=red]</center>[/color]");
Quote
dfmurphy wrote:
Wow ... I'm kinda new around here, but I've seen this question posed at least a gazillon times. Searching the forum posts for 'center banner' gives you everything you need.
But ... since I'm new I'll do more than just ream you over (that seems to happen every once and while around here), I'll give you a little hint.
Centering is theme specific. So, if your theme of choice doesn't center the banner, then you'll have to edit every theme.php you want to use.
Look in themes/theme.php for a line like this:Code Download source<td>$header_content</td>
and change it to:Code Download source<td align=center>$header_content</td>
At least that's how I did it. I suppose you could span style too. I don't really know for sure which preferred.
<td>$header_content</td>
<td align=center>$header_content</td>
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions