Topic: Removing Title

I wish to remove the Title because I have a logo to replace it in the header. Does anyone know how I can remove it? =]

Re: Removing Title

open include/template/main.tpl and remove <pun_title>

3 (edited by Chronotrigga 2007-06-15 19:44)

Re: Removing Title

That removes the whole header and my logo disappears. :[. Do you know how I can just remove the title, not the header?

4

Re: Removing Title

Header.php:

$tpl_main = str_replace('<pun_title>', '<h1><span>'.pun_htmlspecialchars($pun_config['o_board_title']).'</span></h1>', $tpl_main);

Re: Removing Title

Chronotrigga: What's the CSS you use to add the logo?

Re: Removing Title

Oxygen

Re: Removing Title

No, I meant the actual CSS changes you made wink

Re: Removing Title

I used this: http://wiki.punres.org/Add_a_logo_to_the_header_via_css

But the whole CSS code can be found here:
http://rafb.net/p/C20EcJ79.html

Re: Removing Title

Add this after your changes

.pun H1 span
{
    display: none;
}

That should hide the text

10 (edited by Chronotrigga 2007-06-15 23:50)

Re: Removing Title

Thanks a lot smile

Edit: I also want to do something else. I want to change the color of the inside of the header. I was able to change it, but it changed all the inside borders.. Is it possible just to change the color if the inside of the header?

http://rafb.net/p/J7SSX114.html (line 11 is where I changed the color)