Uutiset:

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

Main Menu
Advertisement:

Would like to add custom logo at the top of the page.

Aloittaja TomFitz, heinäkuu 22, 2011, 10:10:35 AP

« edellinen - seuraava »

TomFitz

Please forgive my ignorance, this is my first tim attempting anythng like this. I have inly worked with HTML some years ago.

I would like to add my company's logo at the top center of the page,and remove "My Community" at the top left and remove the SMF logo on the top right..  I am using the default theme.

The fourm is at : hxxp:fsi.trinityware.com/FSI_Board2/index.php [nonactive]
and the logo I would like to add is at:  hxxp:fsi.trinityware.com/FSI_Board2/FSI_logo.png [nonactive]
Thanks for any assistance,

Tom.....

ARG01

No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

TomFitz

Thanks for your reply....
I'll give it a try when I get home (at work right now) and let you know how it works...

Tom....

TomFitz

OK, Before I go and mess everything up I just wanted to check with you to see if I have it correct..
Below is the code that I will be replacing::

Code: [Select]
function template_body_above()
{
   global $context, $settings, $options, $scripturl, $txt, $modSettings;

   echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
<div class="centertext"><a href="hxxp:fsi.trinityware.com/FSI_Board2/index.php/ [nonactive]"><img src="',$settings['images_url'],'/fsi_logo.png" /></a></div><br />
   <div id="header"><div class="frame">
      <div id="top_section">
         <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>';

It that it?

Thanks again for your help..

Tom

ARG01

Looks good to me. Just make sure to keep a backup of your file before making any changes.  ;)
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

TomFitz

Thanks So Much!  ....Just what I needed..

I used to do HTML years ago but haven't in years.. Now a lot older, my mind is not as quick in learning all the new developments and methods as it was years ago..  (going a little senile I guess   :-[ )

Thanks again..

Advertisement: