changing banner in blog

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Guest

changing banner in blog

Post by Guest » Thu Sep 08, 2005 9:39 am

Hi there,

I know there are several links explaining it, but I'm really new to this, so please bear with me, since no matter how many times I try it, it doesn't seem to work.

Basically, I want my blog banner to match the banner on the rest of my site (and, if possible, also have embedded in it a link back to the rest of the site, but that's really ambitious at this point). How do I make it so that I can use the header and subheader on my website (at http://www.iheartmusic.net, for the record)? I don't want to change anything else, and I'm really eager to make the switch from Blogger, so any help (especially help with very clearly laid out instructions) will be greatly appreciated.

Thanks in advance

Matthew
http://www.iheartmusic.net

pollesel
Regular
Posts: 13
Joined: Thu Sep 08, 2005 6:05 am
Location: ottawa
Contact:

Re: changing banner in blog

Post by pollesel » Thu Sep 08, 2005 9:41 am

Hi there,

I know there are several links explaining it, but I'm really new to this, so please bear with me, since no matter how many times I try it, it doesn't seem to work.

Basically, I want my blog banner to match the banner on the rest of my site (and, if possible, also have embedded in it a link back to the rest of the site, but that's really ambitious at this point). How do I make it so that I can use the header and subheader on my website (at http://www.iheartmusic.net, for the record)? I don't want to change anything else, and I'm really eager to make the switch from Blogger, so any help (especially help with very clearly laid out instructions) will be greatly appreciated.

Thanks in advance

Matthew
http://www.iheartmusic.net

(sorry for the double post, but it logged me out as I was writing)

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: changing banner in blog

Post by garvinhicking » Thu Sep 08, 2005 3:08 pm

You can just edit the "index.tpl" file of the template you have chosen and put the HTML code in there you want. Look out for "serendipity_banner" which is the current HTML code for the banner.

If you are using the default theme, look at templates/default/index.tpl.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

pollesel
Regular
Posts: 13
Joined: Thu Sep 08, 2005 6:05 am
Location: ottawa
Contact:

Post by pollesel » Thu Sep 08, 2005 6:36 pm

Hi Garvin,

Thanks for your prompt reply.

I'm very slowly figuring this out, so I apologize in advance for asking such a basic question. I've edited the "serendipity banner", and it now links back to my homepage, but I can't get it to show the header from my homepage.
If my header is at http://www.iheartmusic.net/GOIM001.GIF, and the subhead is http://www.iheartmusic.net/GOIM002.GIF, how should the code in index.tpl look?

Thanks again,
matthew
www.iheartmusic.net
Last edited by pollesel on Thu Sep 08, 2005 11:43 pm, edited 1 time in total.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Thu Sep 08, 2005 7:24 pm

For placing images, you might need to look at CSS code. Open the file "style.css" and search for "serendipity_banner" again.

You might need to learn some bits about CSS, but the background-image thing should be straight forward.

If you don't want to use CSS you can still just put your HTML Code like this:

Code: Select all

<div id="serendipity_banner">
<img src="http://www.iheartmusic.net/GOIM001.GIF" />
</div>


inside the index.tpl file...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

pollesel
Regular
Posts: 13
Joined: Thu Sep 08, 2005 6:05 am
Location: ottawa
Contact:

Post by pollesel » Thu Sep 08, 2005 11:16 pm

thank you so much! :) i'm slowly getting the hang of all this. i'll browse the rest of the forums and see what else i can figure out.

matthew

Post Reply