News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

How to remove the site name text from the header (default theme)

Started by smoki, August 10, 2008, 11:40:30 AM

Previous topic - Next topic

smoki

I'm using smf's default theme and i want to remove the site name ( "talk-forums" ) from the header without removing it from the "site title".

another question:
how to resize the header (so i can insert my larger logo)

hxxp:shrani.si/?32/Hs/1it3mrT8/screenhunter01-aug-10-17.gif [nonactive]

ccbtimewiz

Open index.template.php

Find:
if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';


Replace with:
if (empty($settings['header_logo_url']))
echo '';

smoki


ccbtimewiz

I don't understand it. Just edit the Current Theme logo box URL to add a logo.

smoki

hmm...the "header" (where the site title and the simple machine forums logo is located" is too short in height for my logo to fit in, so i need to stretch the header to make it higher

[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

Deprecated

I inserted MY logo and it stretched automatically. :) (2.0b3.1 but probably same on 1.1.5)

Advertisement: