Customizing SMF > Graphics and Templates

Forum's logo is obscuring the forum title

(1/1)

QScotland:
I would like to show a site logo in my forum. Following the instructions in the Help topic "How to change the logo", I uploaded my logo and entered its URL in the Logo Image URL box, under "Theme Options and Preferences".

The logo correctly appears as expected, in the top left corner of the page. The problem is that it completely obscures the forum's title.

Is there any way to show both the logo and the title?

I am using SMF 2.0.15 with the Default Curve theme.

Thanks in advance.

Mike

Aleksi "Lex" Kilpinen:
If you wish to keep both a logo image, and the alternative text, you would need to edit index.template.php

The default code would be this


--- Code: ---         <h1 class="forumtitle">
            <a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" height="50" alt="' . $context['forum_name'] . '" />', '</a>
         </h1>';

--- End code ---

QScotland:
Many thanks, Aleksi, I can see exactly what needs to be done.

Mike

Aleksi "Lex" Kilpinen:
You're welcome :)

Navigation

[0] Message Index

Go to full version