1
Josem
xoops banner and logo.gif
  • 2005/3/18 7:54

  • Josem

  • Just popping in

  • Posts: 18

  • Since: 2004/8/22


hi,
I need some help...
I am having some problems displaying a correct sized logo.gif.
I have read previous posts but just modifying "theme.html" to say a size for the logo.gif of "1011x100" for example, gives an ok view for a 1024 resolution. However, a bigger monitor with a higher resolution shows a blank space on the right of the header logo and is very irritating. I always update the templates so the problem is not there.

I wonder what is the right way to create a logo.gif, copying this image to my theme folder and displaying this correctly on any resolution without a blank space. (Is that blank space occupied by the banner?) I do not want a banner just the logo.
I modified the theme.html on my clone of the default theme by eliminating the banner entry without success. Yes I am using
a clone of the XOOPS default theme. By the way, XOOPS is great!

Cheers.

2
Herko
Re: xoops banner and logo.gif
  • 2005/3/18 8:10

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


the XOOPS banner is at the right. If you don't want to use it (there), just remove the <{$xoops_banner}> code (and the surrounding table code?)

Herko

3
Josem
Re: xoops banner and logo.gif
  • 2005/3/18 14:41

  • Josem

  • Just popping in

  • Posts: 18

  • Since: 2004/8/22


Do you mean from the "theme.html" file? I did that. Or are you referring to another file? What sorrounding table code are you mentioning? I included below, the header based on the default theme. But the blank space I am talking about is not the banner per se but a blank space that is you see below, is 1011 by 100. So I remove the banner, I created a logo.gif that occupies te space of the original XOOPS logo I "stretch" the original space of the logo.gif to be bigger and then I have this problem. I have seen sites using themes based on the default theme and they don't show this problem. The logo.gif should adapt to the resolution of the monitor, like the whole page does.

<!---------------------------BeginHeader---------------------------------->

<table cellspacing="0">

<tr id="header">

<td id="headerlogo"><ahref="<{$xoops_url}>/"><imgsrc="<{$xoops_imageurl}>logo.gif" width="1011" height="100" alt="" /></a></td>

</tr>

<tr>

<td id="headerbar" colspan="7">&nbsp;</td>


</tr>

</table>

<!--------------------------EndHeader-------------------------------------->
Thanks.

4
Josem
Re: xoops banner and logo.gif
  • 2005/3/19 7:48

  • Josem

  • Just popping in

  • Posts: 18

  • Since: 2004/8/22


Well I found the solution. Two files need to be edited. "style.css" and of course "theme.html". The references to "headerbanner" need to be removed on both ( I had mine already removed). The simple thing was to change the "witdh" to 100%.

Just for the record, in case it can help anybody.

Login

Who's Online

150 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 150


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits