background image on custom header ??? background image on custom header ???
 

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

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.