Advertisement:

How do you remove the text "logo" for your site at the top of Curve?

Aloittaja Scrimps, lokakuu 04, 2011, 10:48:33 AP

« edellinen - seuraava »

Scrimps

I am currently modifying the SMF 2.0 theme Curve to fit with my website. Here is a preview of what I am going for hxxp:i.imgur.com/dsnZk.jpg [nonactive]

Now almost everything is skinned. I have yet to put in the header. However, I am wondering what block of code I need to remove, to remove the text logo of my site, which displays above the "hello user" message on the curve theme.

Antechinus

This:

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


Do note though that it really is a good idea to have whatever logo you use designated as an <h1>, as well as being linked to your home page.

Scrimps

Lainaus käyttäjältä: Antechinus - lokakuu 04, 2011, 07:43:31 IP
This:

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


Do note though that it really is a good idea to have whatever logo you use designated as an <h1>, as well as being linked to your home page.

This gave a template parse error and broke the forum until I re-edited the file from the ftp.

Antechinus

Remove exactly what I posted. Do NOT remove the '; that comes after the </h1>

Advertisement: