coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: coco on May 04, 2004, 08:02:12 PM

Title: Header Replacement/ Mac Os
Post by: coco on May 04, 2004, 08:02:12 PM
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
Title: Re: Header Replacement/ Mac Os
Post by: Joachim Müller on May 04, 2004, 11:38:54 PM
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
Title: Re: Header Replacement/ Mac Os
Post by: coco on May 05, 2004, 12:26:19 AM
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.
Title: Re: Header Replacement/ Mac Os
Post by: Joachim Müller on May 05, 2004, 12:36:32 AM
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
Title: Re: Header Replacement/ Mac Os
Post by: coco on May 05, 2004, 12:43:12 AM
Thx alot. I know the height is 65 pixels. But what is the width of the whole banner?

Thanks again.
Title: Re: Header Replacement/ Mac Os
Post by: Joachim Müller on May 05, 2004, 12:45:55 AM
erm, what? How am I to know the height of your banner? ::)

GauGau
Title: Re: Header Replacement/ Mac Os
Post by: coco on May 05, 2004, 11:50:46 AM
lol, not my banner. The mac os one, seems to be made of one jpg and one gif??
Title: Re: Header Replacement/ Mac Os
Post by: Joachim Müller on May 06, 2004, 08:10:23 AM
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