background image on custom header ??? background image on custom 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

background image on custom header ???

Started by zegorg, January 02, 2007, 04:24:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zegorg

Hi everyone !!!
I'm very new to html, php and all, and now that I've installed and set my coppermine gallery,
I would like to use the custom header feature to add a navigation of my own with links to other pages on my site .
My problem is: is it possible to have a background image or some kind of fancy layout on the header ?
I understand that I can't use "head" or "body" tags and I'm not proficient enought to know how to do otherwise ...
Thank you for your help and a big "hurra" to the dev team...cpg is amazing !!!

Gizmo

You are correct that you can't use <head> or <body> tags in the custom header. That's because the custom header is included with these tags for the gallery page that it appears on however you can include all other html coding you'd like. You can use a <table> or <div> to hold your background image and even use css to control it. Google table or div background and you'll be on your way.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

zegorg

Thank you very much for your swift reply, Gizmo .
I'll follow your advice and use a table ...
Cheers ! :) :) :)

Joachim Müller

Imo static content (like a background image) should not go into the custom header include. It's just a matter of layout and therefor should be done using template.html and style.css.

mischafan

im kind of in the same boat
id like to a add a layout/pic to my header
do i use a table for that?

Joachim Müller

Just edit themes/yourtheme/template.html. If you need more help, please start a thread of your own, posting a link to your coppermine-driven gallery and some more information what you actually want to accomplish.