Center Your Logo (Banner)

I searched all over Integramod.com trying to find the best and easiest solution to centering my banner or logo, without having to disable the banners completely.
Finally, I started toying around with mine and came up with this solution that works great for me and may make it easier for you to do the same.
This is fairly simple to do and should only take a couple of minutes.
[hr:1kg9ti7w]
Open /templates/XXX/overall_header.tpl
FIND & DELETE
FIND
REPLACE WITH
[hr]
The reason for the FIND and DELETE I think is fairly significant. I had noticed that when I went through the process of center my logo (Banner) it would remain left justified on my site. What you are deleting is a column used by the 'Overall Banner'.
I found this to be the reason my logo was not centering. Also, by adjusting your overall_header.tpl in this manner, it allows you to still utilize the banner functions. If in the future you do decide to place a banner in the 'Overall Banner' position, it will simply left justify your logo. For me, that works out perfectly.
You are still able to update your logo via the ACP/General Admin/Configuration and utilize the banners via the ACP/Styles Admin/Banner.
To date, I have found no ill-effects since I made these changes. I am sure that the Guru's of Integramod.com will correct me if I am wrong ... But, either way, this suits my needs and will hopefully make it easier for you to make changes to your site.
Cheers!
Finally, I started toying around with mine and came up with this solution that works great for me and may make it easier for you to do the same.
This is fairly simple to do and should only take a couple of minutes.
[hr:1kg9ti7w]
Open /templates/XXX/overall_header.tpl
FIND & DELETE
- Code: Select all
<td> </td>
FIND
- Code: Select all
<td><a><img></a></td>
REPLACE WITH
- Code: Select all
<td><a><img></a></td>
[hr]
The reason for the FIND and DELETE I think is fairly significant. I had noticed that when I went through the process of center my logo (Banner) it would remain left justified on my site. What you are deleting is a column used by the 'Overall Banner'.
I found this to be the reason my logo was not centering. Also, by adjusting your overall_header.tpl in this manner, it allows you to still utilize the banner functions. If in the future you do decide to place a banner in the 'Overall Banner' position, it will simply left justify your logo. For me, that works out perfectly.
You are still able to update your logo via the ACP/General Admin/Configuration and utilize the banners via the ACP/Styles Admin/Banner.
To date, I have found no ill-effects since I made these changes. I am sure that the Guru's of Integramod.com will correct me if I am wrong ... But, either way, this suits my needs and will hopefully make it easier for you to make changes to your site.
Cheers!