1

Topic: Adding an image to header

Ok what I have isnt working. I have a banner called from the main.tpl and I want to add another small image above that (team Name) that is style specific. So I added the following code to my style sheet:

#brdtitle {
    background-image: url(http://www.d1acollegefootball.com/Forum … lahoma.gif);
    background-repeat: no-repeat;
}


What am I doing wrong?

Thanks!

2

Re: Adding an image to header

anyone want to take a stab at this? PLEASE?

3 (edited by TFD 2006-03-09 16:08)

Re: Adding an image to header

I switchd the image called in the main.tpl and placed a image in the admin.title description box. So now it LOOKS the way I want but the title is the same for all styles. I want a title to be specific for each style.


Thanks.

4

Re: Adding an image to header

Just create a new div #teamname in main.tpl and then define the height, width, margin and background image in each stylesheet.

5 (edited by TFD 2006-03-09 16:19)

Re: Adding an image to header

so the text for the main.tpl will look like this?

<div id="teamname">


and then in the style sheet

#teamname {
    height: 10px;
    background-image: url(BANNER.jpg);
    background-repeat: no-repeat;
}

6

Re: Adding an image to header

The above post didnt do anything but jack up the site. Im new to php so Im not sure what Im doing or not doing. Can anyone tell me what the code would be?



Thanks in advance!

Re: Adding an image to header

http://punbb.org/forums/viewtopic.php?id=10768

8 (edited by TFD 2006-03-09 20:58)

Re: Adding an image to header

Thanks! Does that mod allow style specific logos? I will have 119 styles yikes

Re: Adding an image to header

No, but I guess it'll be easily modified to do that smile

10 (edited by TFD 2006-03-09 23:53)

Re: Adding an image to header

elbekko wrote:

No, but I guess it'll be easily modified to do that smile

LOL I cant  figure the code as it is, last thing I need is to try to figure out how to modify a mod. Thanks anyway.

11

Re: Adding an image to header

Can someone explain this?

"Just create a new div #teamname in main.tpl and then define the height, width, margin and background image in each stylesheet."

12

Re: Adding an image to header

<div id="teamname">
    <p> </p>
</div>

#teamname {
    background: url(meh.png) center center no-repeat;
    height: Xpx;
    margin: Xpx;
}

13

Re: Adding an image to header

Thank you Elzar! Thats exactly what I needed! It works!