![]() |
|
HOW TO ADD A HEADER - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: HOW TO ADD A HEADER (/thread-3793.html) |
HOW TO ADD A HEADER - meltdowncomics - 2008-09-18 If anyone knows what code to put in to add a JPG header instead of it saying Gallery on the top left. view here wwww.meltcomics.com/zenphoto. I'd like to replace Melt Gallery with a nice image header and still be able to click back to the gallery home. Any help will be greatly appreciated. currently this is what the css looks like for the top of the page.
title="Gallery">
HOW TO ADD A HEADER - tomc - 2008-09-20 http://www.pageresource.com/html/image3.htm google is your friend :) Of course you need to make sure your image can fit within the height and width of the "gallerytitle" div. HOW TO ADD A HEADER - darrellm - 2008-09-21 I just added this... HOW TO ADD A HEADER - droboth - 2008-09-21 hi in which file and at what place ? do we have to add this code ? and can we put a link on it so as to go back to my home page which is not "in" zenphoto ? thanks in advance HOW TO ADD A HEADER - darrellm - 2008-09-22 In your theme folder (whatever theme you are using), go to the index.php file and where you see add this: You may have to remove " title="Gallery"> as well as the titlesub. Make sure to make a backup copy of your index.php first before you begin. I hope that helps. HOW TO ADD A HEADER - os07 - 2009-02-11 Whenever I need to do something like that, I like to use CSS. I would go into the index.php file and, f'rinstance:
And in the css,: div#gallerytitle h2.title { background-image: url(mygraphic.gif); /then, hide the ugly text, but preserve it's content for search engines / gallerytitle h2 span {display:none; Just a simple CSS image substitution thing, but easy to use and search-engine friendly. HOW TO ADD A HEADER - Free Mp3 - 2009-04-24 i think code must not be with design HOW TO ADD A HEADER - jley - 2009-11-06 @os07: You were missing a } in your css... Try: div#gallerytitle h2.title { background-image: url(mygraphic.gif); /then, hide the ugly text, but preserve it's content for search engines / gallerytitle h2 span {display:none; But thanks anyway - works great otherwise! |