Icy Phoenix
Old Support Topics - Fixed Width In All IP
Ripley [ Tue 30 Mar, 2010 23:17 ]
Post subject: Fixed Width In All IP
Hello, I have changed logo today, but it width is not 100% , it is fixed, so when anybody who have monitor larger then mine see this
Tell me please how to make forum width fixed in pixels?
My_PeSePe [ Tue 30 Mar, 2010 23:32 ]
Post subject: Re: Fixed Width In All IP
You open the file that is in ROOT / templates / your template / overall_header.tpl
Seeks
- <td align="left" height="100%" style="vertical-align: middle">
- <!-- IF GL_BLOCK -->
- <!-- BEGIN ghleft_blocks_row -->{ghleft_blocks_row.OUTPUT}<!-- END ghleft_blocks_row -->
- <!-- ELSE -->
- <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>
- <!-- ENDIF -->
- </td>
Replace with:
- <td align="center" height="100%" style="vertical-align: middle">
- <!-- IF GL_BLOCK -->
- <!-- BEGIN ghleft_blocks_row -->{ghleft_blocks_row.OUTPUT}<!-- END ghleft_blocks_row -->
- <!-- ELSE -->
- <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>
- <!-- ENDIF -->
- </td>
Ripley [ Tue 30 Mar, 2010 23:40 ]
Post subject: Re: Fixed Width In All IP
Thank you, but are not they same?
My_PeSePe [ Tue 30 Mar, 2010 23:44 ]
Post subject: Re: Fixed Width In All IP
if the code is changed but
TheSteffen [ Tue 30 Mar, 2010 23:45 ]
Post subject: Re: Fixed Width In All IP
Can you try this
OPEN
templates/icy_phoenix/style_white_blue.css
FIND
#global-wrapper {
/*
width: 980px !important;
clear: both;
margin: 0 auto;
*/
}
REPLACE WITH
#global-wrapper {
width: 980px !important;
clear: both;
margin: 0 auto;
}
Ripley [ Tue 30 Mar, 2010 23:59 ]
Post subject: Re: Fixed Width In All IP
Yes that helped, thank you, I did not see */ :oops:
But logo did not fit to the right side, in the left everything is ok, but in the right there is something, which I do not know opera dragonfly says it's <div class="sitedes"> , but as I see it's just a text..
My_PeSePe [ Wed 31 Mar, 2010 00:08 ]
Post subject: Re: Fixed Width In All IP
you have to make the logo bigger and adjust to the size of your forum
seek in header
<td align="center" height="100%" valign="middle">
<!-- IF GL_BLOCK -->
<!-- BEGIN ghleft_blocks_row -->{ghleft_blocks_row.OUTPUT}<!-- END ghleft_blocks_row -->
<!-- ELSE -->
<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>
<!-- ENDIF -->
</td>
replace
<td align="center" height="100%" valign="middle">
<!-- IF GL_BLOCK -->
<!-- BEGIN ghleft_blocks_row -->{ghleft_blocks_row.OUTPUT}<!-- END ghleft_blocks_row -->
<!-- ELSE -->
<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}" width="100%" height="150px" /></a></div>
<!-- ENDIF -->
Ripley [ Wed 31 Mar, 2010 00:22 ]
Post subject: Re: Fixed Width In All IP
The width is fixed in pixels now.
Logo size is fine, it is something else that prevents :?

My_PeSePe [ Wed 31 Mar, 2010 00:30 ]
Post subject: Re: Fixed Width In All IP
It may not be for the logo if the code in the header have more room for normal. I spend the same and were some <td
Ripley [ Wed 31 Mar, 2010 00:51 ]
Post subject: Re: Fixed Width In All IP
It may not be for the logo if the code in the header have more room for normal. I spend the same and were some <td
Yes, I think it is somewhere in templates, I have same problem with milky way blue when we were at phpbb, will search tomorrow, thank you :)