Icy Phoenix


Documentation And How To - STYLE - Replacing The Logo With A Different Sized One. IP V1.27*



Lopalong [ Mon 15 Sep, 2008 12:22 ]
Post subject: STYLE - Replacing The Logo With A Different Sized One. IP V1.27*
;)

Icy Phoenix uses "Extreme Styling" which means that nearly all different styles will have different markup in the overall_header_*.tpl for the Logo of that theme, and may or may not use the .css to position it also.

And because of that fact, posting such questions as "How do I do this or That" without naming the theme you are trying to adjust, is about as useful as an ashtray on a motorcycle. :roll:

mg_themes/ice for example has:

Code: [Hide] [Select]
<td width="100%" colspan="3" valign="top">
<div id="top_logo">
<table class="" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="150" align="left" valign="middle"><a href="{FULL_SITE_PATH}{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}"/></a></td>


Note: the <div id=top_logo and the <td height="150"

Changing the settings to suit your Logo:

Change 150 to the height of your Logo

Goto the theme_style.css for that theme and find #top_logo, and adjust the height there to suit your Logo also.

Note: You may have to juggle the height of both settings until you get the logo into the position that you want it. :P


Icy Themes Crystal Styles may contain either of the following in the overall_header_*.tpl file, or something quite different - But you will get the idea of what to look for.

Code: [Hide] [Select]
<td width="100%" colspan="3" valign="top">
<div id="top_logo_bg">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" style="padding:10px;"><a href="{FULL_SITE_PATH}{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}"/></a></td>


Or

Code: [Hide] [Select]
<td width="100%" colspan="3" valign="top">
<div id="top_logo_bg">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" style="padding:10px;"><a href="{FULL_SITE_PATH}{U_PORTAL}" title="{L_HOME}"><img src="{FULL_SITE_PATH}{SITELOGO}" alt="{L_HOME}" title="{L_HOME}"/></a></td>
<td align="center" valign="middle">
<!-- BEGIN switch_header_banner -->
<div id="header_banner">{HEADER_BANNER_CODE}</div>
<!-- END switch_header_banner -->


Both Have <div id="top_logo_bg while some contain the additional class <div id="header_banner" for positioning the Header Banner to the right of the Logo if used.

So, you need to find the height, (and padding - if applicable) used in the headers, and use the "<div id or <td class" markup etc, to identify what you have to find and change in the .css

FK Themes are a little more complex, as all styles use the same "overall_header.tpl file" and the Logo needs to be adjusted in the .css for each theme on a case by case basis.

:shock:


Aragel [ Thu 30 Jul, 2009 05:40 ]
Post subject: Re: Replacing The Logo With A Different Sized One
I have followed this most slavishly.. but for some reason my header graphic is being automatically resized in Black Pearl. I'm unsure what to do, lol.

www.frostwindempire.com is the website and you'll be able to see what I mean.

Any help you can give would be greatly appreciated.

EDIT:: Nevermind, lol. Like a moron I forgot to edit the style and template in the phpBB ACP.. yay me.


DWho [ Sat 29 Aug, 2009 11:54 ]
Post subject: Re: Replacing The Logo With A Different Sized One
Aragel wrote: [View Post]
I have followed this most slavishly.. but for some reason my header graphic is being automatically resized in Black Pearl. I'm unsure what to do, lol.

www.frostwindempire.com is the website and you'll be able to see what I mean.

Any help you can give would be greatly appreciated.

EDIT:: Nevermind, lol. Like a moron I forgot to edit the style and template in the phpBB ACP.. yay me.


this guide is for Icy Phoenix sites you are using phpbb3 so it does not apply correctly...

:mrgreen: :mrgreen:




Powered by Icy Phoenix