11
homergz
Re: editing the header
  • 2006/9/3 6:09

  • homergz

  • Just popping in

  • Posts: 80

  • Since: 2006/5/21


Woops missed that... thanks Snow

12
glennnphp
Re: editing the header
  • 2006/9/3 6:10

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


what is the PROPER way to edit the logo.gif?

whatever i've done has messed something up. apparantly they don't want people to change that image too easily...

13
glennnphp
Re: editing the header
  • 2006/9/3 6:11

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


Quote:

snow77 wrote:
this is not needed:

vertical-align: middle; text-align:center;

(erase those)

maybe give it height:

height: 155px;


those were in the stylesheet already - i'm just using it cause it's there...

14
snow77
Re: editing the header
  • 2006/9/3 6:16

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


their there but your design doesn't need them.

take that table you have and replace it with this:

<table width="100%" cellspacing="0">
    <
tr >
      <
td id="headerbanner">&nbsp;td>
    tr>
    <
tr>
      <
td id="headerbar" colspan="2">&nbsp;td>
    tr>
table>


and your style.css likes this:


#headerbanner {
background-color: #FFFFFF;
background-image: url(LTLF.gif);
background-repeat: no-repeat;
background-position: center;
height: 155px;
}


it's actually easy, with just a little more practice with css

15
glennnphp
Re: editing the header
  • 2006/9/3 6:16

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


Quote:

glennnphp wrote:
Quote:

snow77 wrote:
this is not needed:

vertical-align: middle; text-align:center;

(erase those)

maybe give it height:

height: 155px;


those were in the stylesheet already - i'm just using it cause it's there...


if i give it 155, it lowers the whole page so that the whole image is visible, but the cell is still twice as high as it needs to be. if i give it 76, then it goes back to where it was. it's like there are two images in there, and one's transparent...

16
glennnphp
Re: editing the header
  • 2006/9/3 6:22

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


Quote:

snow77 wrote:
their there but your design doesn't need them.

take that table you have and replace it with this:

<table width="100%" cellspacing="0">
    <
tr >
      <
td id="headerbanner">&nbsp;td>
    tr>
    <
tr>
      <
td id="headerbar" colspan="2">&nbsp;td>
    tr>
table>


and your style.css likes this:


#headerbanner {
background-color: #FFFFFF;
background-image: url(LTLF.gif);
background-repeat: no-repeat;
background-position: center;
height: 155px;
}


it's actually easy, with just a little more practice with css



this:








 



has actually been in theme.html for over an hour and i haven't seen any changes yet. i just left it like that...

i notice that it's calling a headerlogo id that's nowhere in my XOOPS folder...

17
snow77
Re: editing the header
  • 2006/9/3 6:29

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


yeah I am seeing unexisting code too. Go to administration menu > system > preferences > genereal settings and set to YES this option: Check templates for modifications ?

and erase all the files in templates_c folder except the index.html, just to be double sure no cache is left.

then here is the header table again and style you'll need for the header:

header table:
<table width="100%" cellspacing="0">
    <
tr >
      <
td id="headerbanner">&nbsp;td>
    tr>
    <
tr>
      <
td id="headerbar">&nbsp;td>
    tr>
table>


style:

#headerbanner {
background-color: #FFFFFF;
background-image: url(LTLF.gif);
background-repeat: no-repeat;
background-position: center;
height: 155px;
}

18
glennnphp
Re: editing the header
  • 2006/9/3 6:30

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


found it - it was in my smarty templates...

19
glennnphp
Re: editing the header
  • 2006/9/3 6:54

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


yeah, that's what i've been doing. it still doesn't work with the imge backgrounded, but it works with the image inserted as long as i clean the smarty templates each time.

theyre a pain!! what's the point? how was i supposed to change logo.gif to begin with???

20
glennnphp
Re: editing the header
  • 2006/9/3 6:58

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


hey Snow, can i hire you to do something that probably woon't take you 15 minutes? in MySQL? it's an older script that needs to just call the new xoops_users tables... shouldn't be much at all...?

Login

Who's Online

369 user(s) are online (241 user(s) are browsing Support Forums)


Members: 0


Guests: 369


more...

Donat-O-Meter

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

Latest GitHub Commits