Sub Menu
Links Menu
Online Users

In total there are 649 users online :: 3 registered, 0 hidden and 646 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Center Your Logo (Banner)

Support for IntegraMOD 141

Moderator: Integra Moderator

Center Your Logo (Banner)

PostAuthor: defiantwisdom » Tue Jan 08, 2008 8:23 am

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

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!
Last edited by defiantwisdom on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[color=black][size=99px]
User avatar
defiantwisdom
Newbie
Newbie
 
Posts: 26
Likes: 0 post
Liked in: 0 post
Joined: Tue Dec 25, 2007 7:42 pm
Cash on hand: 0.00

Re: Center Your Logo (Banner)

PostAuthor: Helter » Tue Jan 08, 2008 11:30 am

nice tip. Thats what I love about this community. Members get help, then they come back and give help. It is an ongoing tradition that sets us apart from many similar sites!
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Center Your Logo (Banner)

PostAuthor: Vadar » Wed Jan 16, 2008 5:52 pm

Just wanted you to know that this works great in 1.4.0 as well. Thanks for taking the time to come up with this and documenting it so well.
Last edited by Vadar on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Vadar
Integra Supporter
Integra Supporter
 
Posts: 68
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 7:30 pm
Cash on hand: 0.00

Re: Center Your Logo (Banner)

PostAuthor: defiantwisdom » Thu Jan 17, 2008 10:22 am

No problem ... With as much help and assistance as I have gotten on here, it never hurts to return the favor.

As a side note, I was making changes to my site and had to come back here and find my post just to remember how to do it again. Now that, is funny! <img>

Glad it worked for you ...

Cheers!
Last edited by defiantwisdom on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[color=black][size=99px]
User avatar
defiantwisdom
Newbie
Newbie
 
Posts: 26
Likes: 0 post
Liked in: 0 post
Joined: Tue Dec 25, 2007 7:42 pm
Cash on hand: 0.00

Re: Center Your Logo (Banner)

PostAuthor: HardHead » Thu Jan 17, 2008 12:04 pm

I wish this had been here a week ago..LOL Would have saved me a lot of time and hair pulling... Thanks for the tip <img>
Last edited by HardHead on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[photo]http://www.hh-forums.com/Banners/Sig.gif[/photo]
[photo]http://www.hh-forums.com/Banners/HardHeadSig2.gif[/photo]
User avatar
HardHead
Newbie
Newbie
 
Posts: 11
Likes: 0 post
Liked in: 0 post
Joined: Mon Sep 17, 2007 10:05 pm
Cash on hand: 0.00
Location: Dumas, Arkansas

Re: Center Your Logo (Banner)

PostAuthor: Levethix » Thu Apr 24, 2008 6:12 pm

I cant get this to work for me

I am trying to center my logo on my site : http://www.wasteddayz.com


Here is my overall_header.tpl file
Am I missing something here?

Code: Select all
<DOCTYPE><mod><if><script></script><endif><endif> <link><script></script>  <script></script><script></script><script></script>  <link><script></script><style><finews></style><BEGIN><script><if></script><END><Start><script> <var></script><End><BEGIN><script><window></script><END><script> <function> </script><script></script><Prillian><BEGIN><script><function></script><END><BEGIN><script>if ( {buddy_alert.BUDDY_ALERT} ){window.open('{buddy_alert.U_BUDDY_ALERT}', '_buddyalert', 'HEIGHT=225,resizable=yes,WIDTH=400');}</script><END><Prillian><script></script><script>_uacct = "UA-3080531-1";urchinTracker();</script></head><body><BEGIN>     <table>     <tr>     <td><span><b>{L_BOARD_DISABLE}</b></span></td>     </tr>    </table><END><Start><Banners><table><tr><td><table><BEGIN><tr><td><div>{BANNER_1_IMG}</div></td></tr><END><BEGIN><tr><td><div>{BANNER_2_IMG}</div></td></tr><END></table></td><td><table><BEGIN><tr><td><div>{BANNER_3_IMG}</div></td></tr><END><BEGIN><tr><td><div>{BANNER_4_IMG}</div></td></tr><END></table></td><td><table><BEGIN><tr><td><div>{BANNER_5_IMG}</div></td></tr><END><BEGIN><tr><td><div>{BANNER_6_IMG}</div></td></tr><END></table></td></tr></table><End><End>{QBARS}<a></a><table><tr><td><table><tr> <td><a><img></a></td><BEGIN><td><div>{BANNER_0_IMG}</div></td><END></tr></table><table><tr><td><a><div><img></div></td><td>{QMENUS}</td><td><a><div><img></div></td></tr></table>  <table><tr><td><img></td></td></tr></table>  <BEGIN><table>   <tr>     <td><span> {L_LW_EXPIRE_REMINDER}</span></td>   </tr></table><END>  <strong><font>{SITE_DESCRIPTION}</font></strong> {CALENDAR_BOX}<BEGIN><table><tr><td>{BANNER_16_IMG}</td></tr></table><END><table><BEGIN><tr><td> </td><td> </td><td> </td><td> </td><td> </td></tr><END><BEGIN><tr><td> </td><td> </td><td> </td><td> </td><td> </td></tr><END><BEGIN><tr><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td></tr><END><tr> {PORTAL_HEADER}<td><img></td><td>  



Any and all help is greatly apprciatied
I have tried everything <img>
Last edited by Levethix on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Levethix
Newbie
Newbie
 
Posts: 1
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 24, 2008 6:05 pm
Cash on hand: 0.00

Re: Center Your Logo (Banner)

PostAuthor: bigdadrr » Tue Dec 16, 2008 8:35 pm

Wow, Thanks, I did the same thing, just started trying to change the code and couldn't figure out why it wasn't working. Thanks alot for posting, I wouldn't have figured that out!
User avatar
bigdadrr
Newbie
Newbie
 
Posts: 1
Likes: 0 post
Liked in: 0 post
Joined: Mon Dec 15, 2008 8:47 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron