PDA

View Full Version : Background css as logo?


Rev O
12-23-2008, 07:53 PM
Hello,

Does anyone know of a good technique to use a background image as a logo instead of the normal 'header' logo that appears by default?

I want the use a background image for the logo by placing it in the 'body extra css', but when I try to remove the 'normal header logo' details from the Header>Common Templates, the forum moves up too high, obscurring the new background logo.

Any help would be extremely appreciated.

Thanks

Attitude5ire
12-24-2008, 07:58 AM
You need to add some margin from top to the whole forum.
Just push it down from top till the logo is visible, that should do.

Deceptor
12-24-2008, 08:06 AM
HTML:
<div class="forum_logo"></div>

CSS:
.forum_logo
{
background: url(images/mylogo.jpg);
height: XXXXpx;
width: YYYYpx;
}

Change XXXX to the number of pixels in height of your logo, and YYYY to the width. Should work :)