Haumis wbb hilfe (http://haumis-wbb-hilfe.de/wbb2/index.php)
- WBBLITE (http://haumis-wbb-hilfe.de/wbb2/board.php?boardid=67)
-- Fragen zum WBBLITE (http://haumis-wbb-hilfe.de/wbb2/board.php?boardid=68)
--- Schriftgröße (http://haumis-wbb-hilfe.de/wbb2/thread.php?threadid=1801)


Geschrieben von sabine am 05.12.2011 um 15:17:

  Schriftgröße

Moin moin,
Haumi ist ja wieder in jeheimer Mission unterwegs, also muss ich meine Frage so los werden. Wie kann man die Schriftgröße für die Foren Kategorien größer machen ?

Kann mir das jemand erklären wie für Doofen st3



Geschrieben von haumi am 05.12.2011 um 17:55:

 

Normal wird die Schriftgröße im Designpack unter Schriftgröße"normale Schrift" eingestellt.
Da werden jedoch alle im Board befindlichen Schriften mit diesem Attribut größer (oder kliener) gestellt.
Soll nur speziell die Kategoriezeile größer geschrieben werden dann öffnet mal jeweils die Templates
index_catbit1.tpl
index_catbit2.tpl
index_catbit3.tpl

und setzt vor $boards[title] den html-Befehl <font size="4"> so das es so aussieht:
<font size="4">$boards[title]

Die Größe (hier 4) kann nach belieben verändert werden.

LG
haumi



Geschrieben von sabine am 05.12.2011 um 19:19:

icon18 Spaltenbreite

Das hast du echt Klasse gemacht. Ich freue mich riesig über das Ergebnis st6
Nun habe ich aber noch eine Frage. Wie kann man die Spaltenbreite verändern ?
Ich habe mal ein Screen mit angehängt

Wäre Cool wenn man das auch noch ändern könnte. st6



Geschrieben von haumi am 05.12.2011 um 20:03:

 

Das wird a im Template index gemacht.
Ich habe den code etwas erweitert und die Weiten angepasst
Orginal:
code:
1:
2:
3:
4:
5:
6:
7:
  <td width="80%"><smallfont color="{fontcolorsecond}"><b>Foren</b></font></td>
  <td align="center"><smallfont color="{fontcolorsecond}"><b>Beitr&auml;ge</b></font></td>
  <td  align="center"><smallfont color="{fontcolorsecond}"><b>Themen</b></font></td>
  <td  align="center" nowrap><smallfont color="{fontcolorsecond}"><b>Letzter Beitrag</b></font></td>
  <td width="20%" align="center"><smallfont color="{fontcolorsecond}"><b>Moderatoren</b></font></td>

angepasst
code:
1:
2:
3:
4:
5:
 <td width="50%"><smallfont color="{fontcolorsecond}"><b>Foren</b></font></td>
  <td width="5%" align="center"><smallfont color="{fontcolorsecond}"><b>Beitr&auml;ge</b></font></td>
  <td width="5%" align="center"><smallfont color="{fontcolorsecond}"><b>Themen</b></font></td>
  <td width="25%" align="center" nowrap><smallfont color="{fontcolorsecond}"><b>Letzter Beitrag</b></font></td>
  <td width="15%" align="center"><smallfont color="{fontcolorsecond}"><b>Moderatoren</b></font></td>


und b im Template indexboardbit.
Ich habe den code etwas erweitert und die Weiten angepasst
Original:
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
 <td id="tablea" bgcolor="{tablecolora}" width="80%" colspan=2><table cellpadding=0 cellspacing=0>
  <tr>
   <td><img src="{imagefolder}/$onoff.gif" border=0>&nbsp;&nbsp;</td>
   <td><normalfont><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><b>$boards[title]</b></a></font><smallfont>$boards[description]$subboards</font></td>
  </tr>
 </table></td>
 <td id="tableb" bgcolor="{tablecolorb}" align="center" nowrap><normalfont>$boards[postcount]</font></td>
 <td id="tablea" bgcolor="{tablecolora}" align="center" nowrap><normalfont>$boards[threadcount]</font></td>
 <td id="tableb" bgcolor="{tablecolorb}" nowrap>$lastpost</td>
 <td id="tablea" bgcolor="{tablecolora}" width="20%" align="center"><smallfont>$moderators</font></td>

angepasst
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
 <td id="tablea" bgcolor="{tablecolora}" width="50%" colspan=2><table cellpadding=0 cellspacing=0>
  <tr>
   <td><img src="{imagefolder}/$onoff.gif" border=0>&nbsp;&nbsp;</td>
   <td><normalfont><a href="board.php?boardid=$boards[boardid]&sid=$session[hash]"><b>$boards[title]</b></a></font><smallfont>$boards[description]$subboards</font></td>
  </tr>
 </table></td>
 <td id="tableb" bgcolor="{tablecolorb}" width="5%" align="center" nowrap><normalfont>$boards[postcount]</font></td>
 <td id="tablea" bgcolor="{tablecolora}" width="5%" align="center" nowrap><normalfont>$boards[threadcount]</font></td>
 <td id="tableb" bgcolor="{tablecolorb}" width="25%"nowrap>$lastpost</td>
 <td id="tablea" bgcolor="{tablecolora}" width="15%" align="center"><smallfont>$moderators</font></td>


LG
haumi



Geschrieben von sabine am 05.12.2011 um 20:12:

 

Und das muss ich Offline machen ?
Hab ich dann die Spalte mit Beiträge breiter ?
Denn Moderatoren muss ja nicht so Breit sein st12


Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH