SOLVED Sitelogo


Subject: Sitelogo
How can i get the sitelogo in the center of the site ?

Profile PM  
Subject: Re: Sitelogo
... in which style? :?

Subject: Re: Sitelogo
The MG Style, (Icy, Aqua & Milky Way and the Fort Knox Themes.

Profile PM  
Subject: Re: Sitelogo
Edit all the overall_header*.tpl and move the logo code into the central TD of the header table.

Subject: Re: Sitelogo
I am posting this for quick reference..


In /templates/mg_themes/overall_header.tpl @ line 98

FIND
Code: [Download] [Hide] [Select]
<td height="150" align="left" valign="middle"><a href="{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}"/></a></td>OPEN [b][/b]


REPLACE WITH
Code: [Download] [Hide] [Select]
<td height="150" align="center" valign="middle"><a href="{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}"/></a></td>

Save and close all files..

Profile PM  
Subject: Re: Sitelogo
Thanks :mrgreen:

Profile PM  
Subject: Re: Sitelogo
Hello

How can i get the sitelogo in the center of the site (Black perl)?

I found this:

<div id="logo-img"><a href="{FULL_SITE_PATH}{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}" /></a></div>

:? I do not know how to change it.

Subject: Re: Sitelogo
Mighty Gorgon wrote: [View Post]
Edit all the overall_header*.tpl and move the logo code into the central TD of the header table.


The above means that this part in the code would look something like this:
Code: [Download] [Hide] [Select]
<table id="forumtable" cellspacing="0" cellpadding="0">
<!-- IF GT_BLOCK -->
<tr><td width="100%" colspan="3"><!-- BEGIN ghtop_blocks_row -->{ghtop_blocks_row.CMS_BLOCK}<!-- END ghtop_blocks_row --></td></tr>
<!-- ENDIF -->
<tr>
<td width="100%" colspan="3" valign="top">
<div id="top_logo">
<table class="" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" height="100%" valign="middle">
<!-- IF GL_BLOCK -->
<!-- BEGIN ghleft_blocks_row -->{ghleft_blocks_row.OUTPUT}<!-- END ghleft_blocks_row -->
<!-- ELSE -->&nbsp;
<!-- ENDIF -->
</td>
<td align="center" valign="middle">
<div id="logo-img"><a href="{FULL_SITE_PATH}{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}" /></a></div>
<!-- IF S_HEADER_BANNER --><center><br />{HEADER_BANNER_CODE}</center><!-- ELSE -->&nbsp;<!-- ENDIF --></td>
<td align="right" valign="middle">
<!-- <div class="sitedes"><h1>{SITENAME}</h1><h2>{SITE_DESCRIPTION}</h2></div> -->
<!-- IF GR_BLOCK -->
<!-- BEGIN ghright_blocks_row -->{ghright_blocks_row.OUTPUT}<!-- END ghright_blocks_row -->
<!-- ELSE -->
<!-- IF S_LOGGED_IN -->&nbsp;<!-- ELSE -->&nbsp;<!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</table>


And because the logo will then be above the menu block buttons, you should probably change style_p_black.css too (because your logo will start overlapping the links):

Code: [Download] [Hide] [Select]
#top_logo {
border: 0px solid #181818;
background: #000000 url('images/p_black/top_header.png') repeat-x;
height: 150px;
}

Adjust the height until you have the desired effect ;)
(or cut the height of the image used or play with z-index until it looks good)

Subject: Re: Sitelogo
Thanks so much for helping Joshua, I've tried and it worked. 8)

Subject: Re: Sitelogo
Lin, please open a new topic next time!

2007 is very, very old :mricy:

Topic marked as solved

Profile PM  
Subject: Re: Sitelogo
Excuse me, I am sorry. :oops:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.6473s (PHP: 5% SQL: 95%)
SQL queries: 32 - Debug Off - GZIP Enabled