Header Replacement/ Mac Os Header Replacement/ Mac Os
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Header Replacement/ Mac Os

Started by coco, May 04, 2004, 08:02:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coco

Hi all,

I have searched the forums but cannot find what i am looking for. i would like to replace the header in the Mac Os theme. I understand that I need to edit the template.html file in that specific theme.

The header that I will be replacing it with is just a static banner. I have seen it done in this gallery: http://www.supermotard.com/gallery/index.php

Any help would be appreciated. TIA

Joachim Müller

What exactly is your question? Edit /themes/mac_ox_x/template.html and find<div id="Menu1" style="position:absolute; width:800px; height:30px; z-index:1; left: 25px; top: 95px; visibility: hidden;">{MAIN_MENU1}</div>and replace it with<div id="Menu1" style="position:absolute; width:800px; height:30px; z-index:1; left: 25px; top: 155px; visibility: hidden;">{MAIN_MENU1}</div>
<img src="path/to/your/banner.jpg" withd="400" height="60" alt="" title="foo bar" />

All plain html, nothing special...

GauGau

coco

http://www.ayman.co.uk/look.jpg

Everything above the red line (i.e. the whole banner) I want to replace with my own banner.

View image in link above.

Joachim Müller

like I said - all plain html...
Edit themes/mac_ox_x/template.html and replace          <td align="center" class="top_panel_tr">
           <h1>{GAL_NAME}</h1>
           <h3>{GAL_DESCRIPTION}</h3></td>
         <td width="1" background="themes/mac_ox_x/images/top_panel_r1_c1b.gif"><img name="top_panel_r1_c2" src="themes/mac_ox_x/images/top_panel_r1_c2.jpg" height="65" border="0" id="top_panel_r1_c2" alt="" /></td>
with          <td align="center" colspan="2">
           YOUR CUSTOM BANNER
         </td>


GauGau

coco

Thx alot. I know the height is 65 pixels. But what is the width of the whole banner?

Thanks again.

Joachim Müller

erm, what? How am I to know the height of your banner? ::)

GauGau

coco

lol, not my banner. The mac os one, seems to be made of one jpg and one gif??

Joachim Müller

The table is as wide as it needs to be, that's html basics. Who cares for the width? Why don't you just include your banner and ask later if things don't work as expected, giving a link to you stuff once more?

GauGau