In the default theme, SMF has its own logo located in the upper right hand corner of the screen. This stays even if you add your own custom logo, which appears in the upper left hand corner of the screen, replacing the title text. If you decide you do not wish to keep the Simple Machines logo in the right corner, you may remove it. Below are the instructions on how to remove the default logo from your SMF 2.0 website.

Deleting the default logo in SMF 2.0

  1. Log into your cPanel or use FTP to get to the root folder for your application.
  2. Once in the root folder, you will need to navigate to the correct folder. Go to the Themes folder and then choose the folder that corresponds to your theme. For our default theme, it is the default folder. Inside the specific theme folder is the index.template.php file, which you will need to edit. From here, you can either download the file to edit or, if you are using cPanel, open the file directly to edit it.
  3. After you have the file open, you will need to find the exact line of code to edit. The line of code appears as follows:
    <img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />
    Likely the easiest method that also has the fewest consequences is to add comment code to the beginning and end of this code line. This keeps the original code in tact, and prevents any messages in your error log you would get by simply deleting the image file or renaming it in the code to a nonexistent file name. The codeline, with the comment tag, should look like the following:
    <!-- <img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" /> -->
    This simply comments the code out and does not remove it. This way you can always reactivate the code by removing the <!-- and --> code from the beginning and end of the line, respectively.

  4. After editing the line of code, save the file and re-upload it if you need to. If you upload the file, be sure it goes to the same folder you downloaded it from.
     You can now view your site and see that the logo has been removed.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!