ZenphotoCMS Forum
Please help - include clickable header in theme - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Please help - include clickable header in theme (/thread-5786.html)



Please help - include clickable header in theme - dp1304 - 2009-09-02

I am just recovering my zenphoto installation from backup (don't ask) and it would appear that I have not copied all my amended php and css files :-(

On my original Zenphoto install I managed to include a jpg header which when clicked took my viewers back to my web site home page. I cannot for the life of me recall how I did this so I am asking for someones help. Please be gentle with me as I am only just recovering from finding out that my hosting provider didn't run any backups!!! Please try and explain in words of childlike simplicity ie put this code into this file in this place.... :-)

many thanks in anticipation of any helpdful reponse.
David




Please help - include clickable header in theme - dp1304 - 2009-09-02

OK - I have managed to get the jpg back into the index.php but it is not centered. So can anyone let me know how to centre the jpg. I have used this call




Please help - include clickable header in theme - dp1304 - 2009-09-02

Anybody there?

I have created a header.php file with this code:

I have called this header.php file from index.php with this code:

So on my zenphoto gallery I now get my clickable header (headerlogo.jpg) but it is not centered. Can someone please put me out of my misery and tell me how I can scentre the jpg?????

I am using a modified dark.css and have created a div id of #galleryimage but then I can't find what to put next to center it.




Please help - include clickable header in theme - sbillard - 2009-09-02

Your CSS for 'galleryimage' would need to do the centering.