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
Greetings,
Joey
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → 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
you could tweak the template main.tpl or else try to modiy header.php
you don't need to edit header.php you can probably do everything you want in main.tpl
Oke thnx, looking in to it now
Hmm, where is the css where all the classes and id's of the main template are specified?
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...
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
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?
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.
ignore Orpheus, Goober and creaturecorp 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
Thnx Connerhd, and can I put my own header (for exemple with php include) above these:
<pun_navlinks>
<pun_status>
?
PunBB Forums → PunBB 1.2 troubleshooting → Layout Questions: Your own header without using iframe
Powered by PunBB, supported by Informer Technologies, Inc.