Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Inserting a image as a banner (header) Please Help me

edited December 2006 in Vanilla 1.0 Help
Hi, At first: I have to complimant you all on the fast support here. :) I am completely satisfied with my Theme (Thx Lussumo) and my Style (Big THX to Jazzman) I only want to insert a headerimage, but i can't get it work! I am not familiar with css. In phpbb it was no problem to customize, because of tables. But actually tables sucks. My Site http://www.mobsterbb.de/forum my headerimage http://www.mobsterbb.de/forum/mbbforumheader.jpg What i have done so far: In Settings i have inserted this code in bannerfield <div style="position:absolute; left:60px; top:33px; width:31px; height:27px;"><img src="http://www.mobsterbb.de/forum/mbbforumheader.jpg" width="368" height="172" border="0" title="" alt="mbbforumheader.jpg"></div> Please, edit the code for me or make a new one, so that it works. It should be positioned in the left top. BIG THX IN ADVANE

Comments

  • Options
    I know this doesn't get exactly what you want, but I shrunk my image to fit in the header space that was provided.

    Here is my example: http://www.papertrade.us

    Maybe one of the super-coders can explain to us how to expand the header area to fit your image size...

    Scott
  • Options
    If i would shrink my image nobody is able to recognize it. I really need this. With Vanilla i found the perfect "forum", (to call it "forum" is an insult, better to say Deluxe discussion board) after i have tried phpbb and smf. But actually i dont need all this features and shit, that alle the standard forums contains and i can't see the standard look anymore. That's why i have chosen vanilla by Lussumo! To make this dream perfect i still need a solution for my header! THX
  • Options
    edited October 2006
    easiest way is to just use the default style, copy your header image in the styles/jazzman folder, and edit the css:
    #Header h1 { background: url('mbbforumheader.jpg') no-repeat 0 0; text-indent: -10000px; height: 170px; }
  • Options
    thx jazzman it works properly your are aussum
  • Options
    edited December 2006
    yes the code works, however the no-repeat doesnt seem to work for me.. my banner repeats itself twice.. i guess i could resize it but if someone has a higher res than the size it will repeat and look bad... anyway to get the image not to repeat? Also how would i do the same for the panel... say if i want just one image in the bg for the entire panel..
  • Options
    I wanted to look at your site, but the links referenced above don't work.
This discussion has been closed.