coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Muurvaren on June 11, 2006, 01:11:36 PM

Title: Can't get the header right
Post by: Muurvaren on June 11, 2006, 01:11:36 PM
I' am almost done with redesigning my website. The only problem I can't get right is the header. I' am using film.gif as a repeating image (style.css), works fine. I want also the image 'camera.jpg' on top on the left. After reading the docs I understand to use a custom header witch I 'activated' in the admin/config (include\header.php). Several threats on this board describe similar problems but none of them have solved my problem.

I 'am lost, can someone give me some pointers?

http://www.muurvaren.nl/index.php (http://www.muurvaren.nl/index.php)
For clarification I attached an example what I want to accomplish and the header.php (renamed extention)

Thnx in advance!
Title: Re: Can't get the header right
Post by: Joachim Müller on June 11, 2006, 02:03:41 PM
You only need header.php (the custom header) if you have dynamic content (stuff that keeps changing). As you only seem to add static content (a simpe graphic file), it's enough to edit themes/yourtheme/template.html and add it there (plain HTML only, no fancy php includes).
Watch your html markup, it's improperly nested - I recommend undoing your changes. All you have to do is edit themes/yourtheme/template.html (http://www.muurvaren.nl/themes/muurvaren/template.html in your case).
Title: Re: Can't get the header right
Post by: Muurvaren on June 11, 2006, 11:05:46 PM
Quote from: GauGau on June 11, 2006, 02:03:41 PM
Watch your html markup, it's improperly nested - I recommend undoing your changes. All you have to do is edit themes/yourtheme/template.html.

Thanx GauGau, I removed the custom header and replaced the image.

http://www.muurvaren.nl/ (http://www.muurvaren.nl/)

Works for me right now! ;D
I will look into the improperly nested html-code later. Imo 'case closed!'