coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Illegal_Operation on March 01, 2010, 01:37:23 PM

Title: Add Banner on the home page header
Post by: Illegal_Operation on March 01, 2010, 01:37:23 PM
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
Title: Re: Add Banner on the home page header
Post by: Joachim Müller on March 01, 2010, 03:43:08 PM
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.
Title: Re: Add Banner on the home page header
Post by: Illegal_Operation on March 01, 2010, 04:14:11 PM
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
Title: Re: Add Banner on the home page header
Post by: Joachim Müller on March 01, 2010, 06:10:09 PM
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.