Fixed Width In All IP


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 3e62377abfe7
Tell me please how to make forum width fixed in pixels?

Subject: Re: Fixed Width In All IP
You open the file that is in ROOT / templates / your template / overall_header.tpl

Seeks

Code: [Download] [Hide]
  1. <td align="left" height="100%" style="vertical-align: middle">  
  2. <!-- IF GL_BLOCK -->  
  3. <!-- BEGIN ghleft_blocks_row -->{ghleft_blocks_row.OUTPUT}<!-- END ghleft_blocks_row -->  
  4. <!-- ELSE -->  
  5. <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>  
  6. <!-- ENDIF -->  
  7. </td> 


Replace with:

Code: [Download] [Hide]
  1. <td align="center" height="100%" style="vertical-align: middle">  
  2. <!-- IF GL_BLOCK -->  
  3. <!-- BEGIN ghleft_blocks_row -->{ghleft_blocks_row.OUTPUT}<!-- END ghleft_blocks_row -->  
  4. <!-- ELSE -->  
  5. <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>  
  6. <!-- ENDIF -->  
  7. </td> 

Subject: Re: Fixed Width In All IP
Thank you, but are not they same?

Subject: Re: Fixed Width In All IP
if the code is changed but

Subject: Re: Fixed Width In All IP
Can you try this

OPEN templates/icy_phoenix/style_white_blue.css
FIND
Code: [Download] [Hide] [Select]
#global-wrapper {
/*
width: 980px !important;
clear: both;
margin: 0 auto;
*/
}

REPLACE WITH
Code: [Download] [Hide] [Select]
#global-wrapper {

width: 980px !important;
clear: both;
margin: 0 auto;

}

Profile PM  
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..

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

Code: [Download] [Hide] [Select]
<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

Code: [Download] [Hide] [Select]
<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 -->

Subject: Re: Fixed Width In All IP
The width is fixed in pixels now.

Logo size is fine, it is something else that prevents :? d0aed6f0d92e

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

Subject: Re: Fixed Width In All IP
My_PeSePe wrote: [View Post]
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 :)


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.8927s (PHP: 2% SQL: 98%)
SQL queries: 15 - Debug Off - GZIP Enabled