Topic: Layout Questions: Your own header without using iframe

Is it possible to:

Make your own header above the normal punbb screen, without using i-frames?
Specify a specific width...so that the forum is for exaple max 700pix witdh

Thanks in advance,
Greetings,
Joey

Re: Layout Questions: Your own header without using iframe

you could tweak the template main.tpl or else try to modiy header.php

Re: Layout Questions: Your own header without using iframe

you don't need to edit header.php you can probably do everything you want in main.tpl

Re: Layout Questions: Your own header without using iframe

Oke thnx, looking in to it now wink

Thanks in advance,
Greetings,
Joey

Re: Layout Questions: Your own header without using iframe

Hmm, where is the css where all the classes and id's of the main template are specified?

Thanks in advance,
Greetings,
Joey

6 (edited by Goober 2005-04-07 20:37)

Re: Layout Questions: Your own header without using iframe

They're in the php files, (edit header.php if you want to edit the header) but like Connorhd said, you could just use main.tpl but it also depends on what your trying to do...

Re: Layout Questions: Your own header without using iframe

no, the css is in the style folder, each style has its main css and a _cs which is a colour scheme file in imports, all styles also use base.css

Re: Layout Questions: Your own header without using iframe

Okay, let me explain what I want for simplicity:
What I want is that the forum is in a div, which is 700px width. So not 100% width.
Further I want to hide the first standard title bar from Punbb
(Like on this forum: PunBB.org Forums
Unfortunately no one can be told what PunBB is - you have to see it for yourself.)
In place of that I want my own header, with my own logo and a menu from the site.

Can Somebody give me some kind of little instructions on how to work this out?

Thanks in advance,
Greetings,
Joey

Re: Layout Questions: Your own header without using iframe

For what you want to do, I think it's almost required that you edit the header.php. I can't think of any other way, because the section you wish to be rid of is required for the navigation of the forum. You could just edit it to better suit your needs.

I don't HAVE a signature, ok?

Re: Layout Questions: Your own header without using iframe

ignore Orpheus, Goober and creaturecorp tongue you DO NOT need to edit header.php to change the header you can change

<div id="brdheader" class="block">
    <div class="box">
        <div id="brdtitle" class="inbox">
            <pun_title>
            <pun_desc>
        </div>
        <pun_navlinks>
        <pun_status>
    </div>
</div>

to

<pun_navlinks>
<pun_status>

for the width
Item 5.1 in Oxygen.css
change this
#punwrap {margin:12px 20px}
to this
#punwrap {width: 800px}

note: i'm using quote instead of code since code is broken hmm

11

Re: Layout Questions: Your own header without using iframe

Thnx Connerhd, and can I put my own header (for exemple with php include) above these:
<pun_navlinks>
<pun_status>
?

Thanks in advance,
Greetings,
Joey

Re: Layout Questions: Your own header without using iframe

yeh http://punbb.org/docs/faq.html#faq3_4