1
dragonstar
Logo question
  • 2005/1/26 4:26

  • dragonstar

  • Just popping in

  • Posts: 3

  • Since: 2005/1/22


Hello all. I am very new to XOOPS but have found it pretty straight foward and this site has been very helpful.

My big issue that I am trying to conquer right now is the top/header logo. I understand that you have to change it in every theme that you want it to show in.

I have gone into one of my themes directories and then replaced the old logo.jpg with the picture that I wanted to show and renamed mine logo.jpg.

My logo shows up now. It starts at the left hand side but then only goes about a quarter to a third of the page width. How do I make my logo take up (or stretch) the whole top space from left to right?

I also tried to go into the images/banners directory and take out the XOOPS banner but that didn't help either.

Do I have to do anything with the php code for this? If so, what do I need to do and what program do I use to do it with?

And lastly, I did try to search for a previous post that would be related but couldn't find anything. If I missed it I apoligize and please point the way.

Any suggestions will be appreciated.

DragonStar

2
flabat
Re: Logo question
  • 2005/1/26 5:15

  • flabat

  • Just popping in

  • Posts: 17

  • Since: 2004/4/14


you have to edit your template (theme.html), and change the image size information, you can use any html editor, will help you a lot.



<table cellspacing="0">
    <
tr id="header">
      <
td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="150" height="80" alt="" /></a></td>
      <
td id="headerbanner

3
dragonstar
Re: Logo question
  • 2005/1/26 5:43

  • dragonstar

  • Just popping in

  • Posts: 3

  • Since: 2005/1/22


Thanks flabat. Here's what I have.


********************************************************
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="312"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.jpg" width="312" height="116"></td>
<td width="60%"><p align="center"><{$xoops_banner}></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" background="<{$xoops_imageurl}>navbarbg.jpg" height="37">
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
</div>
***********************************************************


I have tried changing the width in both places up to 612 and the width percent up to 90%.....none of it made any difference.

Do I need to take out some of the code that points to the XOOPS banner?

Btw...how did you put the html code in a new window that i could scroll through??????

4
m0nty
Re: Logo question
  • 2005/1/26 6:06

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


clear your templates_c folder after you have edited your theme.html

then check it again ;)

to do the scroll bar thing..

use the code <> button or type [c ode] your code [/c ode]

(remove the spaces inbetween c & o )

5
dragonstar
Re: Logo question
  • 2005/1/26 6:52

  • dragonstar

  • Just popping in

  • Posts: 3

  • Since: 2005/1/22


Thank you both.

I kept changing the width until my logo reached the other side of the page. I came up with "1003". I don't know if this will be the same for all themes.

After that I had to do something about the XOOPS logo as it had just pushed itself to the right and made my page wider.

I took out this line:

<td width="100%"><p align="center"><{$xoops_banner}></td>


I don't know if that was the best line to take out, but it worked.

Thanks for your timely response and patience. I have spent most of my years repairing and building hardware and networks when I should have been learning how to code!!!

Thanks agian!!!!!!

Login

Who's Online

182 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 182


more...

Donat-O-Meter

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

Latest GitHub Commits