Advertisement:

Author Topic: smfLogo.gif  (Read 345 times)

Offline ModelBoatMayhem

  • Jr. Member
  • **
  • Posts: 243
    • Model Boat Mayhem
smfLogo.gif
« on: November 27, 2017, 08:28:16 AM »

Afternoon All!   :)

I've always had a poor quality smfLogo.gif on my Forum and never got round to fixing it, I decided to have a go today and then was reminded why I couldn't fix it in the first place! I can't get smooth text in a gif file.  >:(

1. How do I create a gif file with nice / smooth text?
2. Somewhere else in this Forum it says 2.0 uses a smflogo.PNG file, mine is still a .gif file - how do I change it to look at a .png file?

Thanks,
 MbM
That's my firm opinion.... but what do I know?!

Offline Dzonny

  • Lead Localizer
  • SMF Super Hero
  • *
  • Posts: 11,609
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: smfLogo.gif
« Reply #1 on: November 27, 2017, 08:51:03 AM »
Well, yes, as far as I'm aware SMF2.0.x uses png file, indeed. Not sure which SMF version you're using.
You can open your index.template.php from your themes folder and seek for something like:
Code: [Select]
<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />or actually, just search for "smflogo.gif" in your case, and change it to whatever you want :)

Offline ModelBoatMayhem

  • Jr. Member
  • **
  • Posts: 243
    • Model Boat Mayhem
Re: smfLogo.gif
« Reply #2 on: November 27, 2017, 09:08:43 AM »
SMF 2.0.15

Code: [Select]
<div id="mainframe"', !empty($settings['forum_width']) ? ' style="width: ' . $settings['forum_width'] . '"' : '', '>
    <div class="tborder">
        <div class="catbg">
            <img class="floatright" id="smflogo" src="', $settings['images_url'], '/smflogo.gif" alt="Simple Machines Forum" />
            <h1 id="forum_name">';

 
That's my firm opinion.... but what do I know?!

Offline Dzonny

  • Lead Localizer
  • SMF Super Hero
  • *
  • Posts: 11,609
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: smfLogo.gif
« Reply #3 on: November 27, 2017, 10:51:13 AM »
That's exactly what you should change, just change .gif to .png and upload new image to your themes images folder.