Add Banner on the home page header Add Banner on the home page header
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Add Banner on the home page header

Started by Illegal_Operation, March 01, 2010, 01:37:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Illegal_Operation

Hi, i would like to add my own banner in the middle of the home page of the header.

How do i go about doing it? I am using hardwired theme and my website is as follows: http://www.asiadollies.com

Thanks

Joachim Müller

Edit themes/yourtheme/template.html with a plain text editor and add your custom HTML as you see fit if you want to add it add the very top. If you want to replace the existing embedded logo image, edit themes/yourtheme/style.css, find .left-banner{
   background-image:url(images/left-banner.gif);
and edit accordingly, but keep in mind that your logo image then needs to fullfill certain requirements.
If you decide for the first option (editing the HTML markup), here's how: as you have failed to post a deep link to the banner image here's a generic example that will integrate the coppermine logo (http://www.asiadollies.com/images/coppermine_logo.png):
find{CUSTOM_HEADER}and add after that (into a new line of it's own) something like<img src="images/coppermine_logo.png" border="0" width="300" height="75" alt="" />. To make it blend nicely into your theme, wrap it into a table or div container construct that is using the same background classes that the rest of the page is using. It's beyond the scope of this board to teach you the HTML/CSS basics to accomplish that. Before doing all those edits you should read http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_create_rename first and do as sugegsted there, i.e. create a copy of the hardwired theme, rename that and edit accordingly. If you don't have the skills to do that, use the theme attached.

Illegal_Operation

I tried based on your below mentioned to add in the custom header (where 3A.gif is my banner)

<img src="images/3A.gif" border="0" height="62" alt="" />

but the height of my image is 70 but the left-banner.gif height is 62... so how do i get it fixed? so that it had the same height?

this is my site www.asiadollies.com

Joachim Müller

Sorry, can't teach you HTML/CSS basics - that's beyond the scope of this board. Increase the width of one or decrease the width of the other; there's no "apply magic" button in any application that I'm aware of.

You failed to provide the link to your image as suggested, that's why I won't look into this any further.