Member
Member
meltdowncomics   18-09-2008, 22:47
#1

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">

    Meltdown's Image Gallery
Member
Member
tomc   20-09-2008, 19:20
#2

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.

Member
Member
darrellm   21-09-2008, 12:51
#3

I just added this...

Junior Member
Junior Member
droboth   21-09-2008, 15:33
#4

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

Member
Member
darrellm   22-09-2008, 02:04
#5

In your theme folder (whatever theme you are using), go to the index.php file and where you see add this: [img]http://www.yourdomain.com/graphics_folder/your_graphics.gif[/img]

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.

Member
Member
os07   11-02-2009, 23:58
#6

Whenever I need to do something like that, I like to use CSS.

I would go into the index.php file and, f'rinstance:

    Gallery title

And in the css,:

div#gallerytitle h2.title {

background-image: url(mygraphic.gif);
background-repeat: no-repeat;
width: 285px; / need to have enough room to show it - matches size of graphic /
height: 46px; / need to have enough room to show it - matches size of graphic /

/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.
HTH!

Member
Member
Free Mp3   24-04-2009, 22:20
#7

i think code must not be with design

Member
Member
jley   06-11-2009, 05:21
#8

@os07: You were missing a } in your css... Try:

div#gallerytitle h2.title {

background-image: url(mygraphic.gif);
background-repeat: no-repeat;
width: 285px; / need to have enough room to show it - matches size of graphic /
height: 46px; / need to have enough room to show it - matches size of graphic /
}

/then, hide the ugly text, but preserve it's content for search engines /

gallerytitle h2 span {


display:none;
}

But thanks anyway - works great otherwise!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.