how can I do to add a logo on the top of the blog ?
thk
add logo
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: add logo
Either by editing your style.css CSS stylesheet and insertit, or edityour index.tpl file andinsertit.
Regards,
Garvin
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/
# 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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
You mean a third choice for the "default"template? Sure, I would commit that!
Regards,
Garvin
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/
# 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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Toto12: In your case I tghink it'seasier to edit your index.tpl template. Look for the "serendipity_banner" and then insert your HTML code to show the image...
Bestregards,
Garvin
Bestregards,
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/
# 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/
If you really want to do it with CSS, find your #serendipity_banner and add these properties:
Code: Select all
background-image: url(http://domain.com/complete/path/image.gif);
background-repeat: no-repeat;
background-position: top right;
Default Template Logo Plugin!
I am proud to announce that I have updated the kubrickheader plugin to switch the background image of the default template.
You can easily define a logo with most templates.
The kubrickheader plugin is now known as "Template Header / Logo Image" in Spartacus. It still allows you to switch the header image for Kubrick and Joshua templates. It now allows you to add an image to any template based on the default template.
The image can be placed within the banner at any of the corners, sides, or dead-center. The banner will not expand to accomodate large images. The image goes underneath the homepage links, if they overlap. Many templates are based on Default; basically anything where the banner is named "serendipity_banner" can use this plugin to replace the banner image.
If that wasn't enough, I also added .gif support. Choose a directory of images, and a .gif, .jpg, .jpeg, or .png will be chosen at random each time the page loads.
So where's the downside? Well, the header does not expand to contain the logo. The homepage links are not image-replaced, even optionally. And, if your banner already has a background image, it will be replaced.
I took the liberty of committing it to CVS myself (after all, Garvin, you gave me access to the additional_plugins directory so I could save you some work, right?). It should show up in Spartacus as "Template Header / Logo Image" version 1.3 within 24 hours. The impatient can obtain it immediately from http://judebert.com/wasted_youth/media/ ... header.zip.
Here's wishing you Serendipity when you blog!
Judebert
You can easily define a logo with most templates.
The kubrickheader plugin is now known as "Template Header / Logo Image" in Spartacus. It still allows you to switch the header image for Kubrick and Joshua templates. It now allows you to add an image to any template based on the default template.
The image can be placed within the banner at any of the corners, sides, or dead-center. The banner will not expand to accomodate large images. The image goes underneath the homepage links, if they overlap. Many templates are based on Default; basically anything where the banner is named "serendipity_banner" can use this plugin to replace the banner image.
If that wasn't enough, I also added .gif support. Choose a directory of images, and a .gif, .jpg, .jpeg, or .png will be chosen at random each time the page loads.
So where's the downside? Well, the header does not expand to contain the logo. The homepage links are not image-replaced, even optionally. And, if your banner already has a background image, it will be replaced.
I took the liberty of committing it to CVS myself (after all, Garvin, you gave me access to the additional_plugins directory so I could save you some work, right?). It should show up in Spartacus as "Template Header / Logo Image" version 1.3 within 24 hours. The impatient can obtain it immediately from http://judebert.com/wasted_youth/media/ ... header.zip.
Here's wishing you Serendipity when you blog!
Judebert