News:

Wondering if this will always be free?  See why free is better.

Main Menu

Theme Edits

Started by dcteague, December 17, 2005, 09:51:11 AM

Previous topic - Next topic

dcteague

I'm in the process of doing some minor editing to the theme I'm using and I can't find the code that is being used for the header where the smflogo.jpg file is being displayed.  There is a colored background and my site's url I'd like to get rid of, and also center the image.  The site is hxxp:flyingbrickperformance.com/tech/ [nonactive] so that you can see what I'm talking about.   Any help would be appreciated.

Dannii

The top half of index.template.php is for the top banner/user box/news etc. Search for smflogo.jpg and then edit that however you like.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

dcteague

Quote from: eldacar on December 17, 2005, 10:33:57 PM
The top half of index.template.php is for the top banner/user box/news etc. Search for smflogo.jpg and then edit that however you like.

Here is what I've found:

// This part is the logo and forum name.  You should be able to change this to whatever you want...
   echo '
               <img src="', $settings['images_url'], '/smflogo.gif" style="width: 250px; float: ', !$context['right_to_left'] ? 'right' : 'left', ';" alt="" />';
   if (empty($settings['header_logo_url']))
      echo '
               <span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';
   else
      echo '
               <img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" border="0" />';

   echo '
            </td>

I'm struggling with what needs to be done to this code to get the logo centered and the url removed from the top header.  Can someone tell me - I'm pretty green with html coding and since I can't see the actual page in an html editor, I'm unsure if what I'm doing is correct.

Also, this is the index.template.php file from the default theme, not the one I have setup for users.  The one I have setup for users doesn't seem to have this code anywhere.  Does this mean its not being used?

Advertisement: