Icy Phoenix

     
 

SOLVED Sitelogo

SOLVED Sitelogo

Article
Reply with quote    Download Post  
Post Sitelogo 
 
How can i get the sitelogo in the center of the site ?



 
Harimau - View user's profile Send private message  
Harimau [ Wed 06 Jun, 2007 04:36 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


SOLVED Sitelogo

Comments
Reply with quote    Download Post  
Post Re: Sitelogo 
 
... in which style?  



 
ThE KuKa - View user's profile Send private message  
ThE KuKa [ Fri 08 Jun, 2007 22:23 ]
Reply with quote    Download Post  
Post Re: Sitelogo 
 
The MG Style, (Icy, Aqua & Milky Way and the Fort Knox Themes.



 
Harimau - View user's profile Send private message  
Harimau [ Sat 09 Jun, 2007 07:13 ]
Reply with quote    Download Post  
Post Re: Sitelogo 
 
Edit all the overall_header*.tpl and move the logo code into the central TD of the header table.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 10 Jun, 2007 02:44 ]
Reply with quote    Download Post  
Post 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..



 
drexful - View user's profile Send private message  
drexful [ Sun 22 Jul, 2007 22:44 ]
Reply with quote    Download Post  
Post Re: Sitelogo 
 
Thanks



 
Sergini - View user's profile Send private message  
Sergini [ Fri 27 Jul, 2007 22:01 ]
Reply with quote    Download Post  
Post 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.



 
Lin - View user's profile Send private message  
Lin [ Sun 11 Mar, 2012 10:42 ]
Reply with quote    Download Post  
Post 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)



 
Edited by Joshua203, Sun 11 Mar, 2012 12:27: Code adjusted a little !!!
Joshua203 - View user's profile Send private message  
Joshua203 [ Sun 11 Mar, 2012 12:08 ]
Reply with quote    Download Post  
Post Re: Sitelogo 
 
Thanks so much for helping Joshua, I've tried and it worked.  



 
Lin - View user's profile Send private message  
Lin [ Tue 13 Mar, 2012 17:50 ]
Reply with quote    Download Post  
Post Re: Sitelogo 
 
Lin, please open a new topic next time!

2007 is very, very old  

Topic marked as solved



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Wed 14 Mar, 2012 12:28 ]
Reply with quote    Download Post  
Post Re: Sitelogo 
 
Excuse me, I am sorry.  



 
Lin - View user's profile Send private message  
Lin [ Thu 15 Mar, 2012 19:42 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron