Uutiset:

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

Main Menu
Advertisement:

How can I change my title and my logo position?

Aloittaja trusted, syyskuu 07, 2005, 08:00:56 AP

« edellinen - seuraava »

trusted

My forum is located at hxxp:www.fylderamblers.co.uk/forum/ [nonactive] and I would like help with the logo and title.
At the top left of the forum I have placed my own logo2.gif, but feel the space between the text (The Fylde Coast Ramblers Community) and the logo should be wider. I have tried a few things without success. Can you please help me.

Here is part of my /Themes/default/index.template.php.

</head>
<body>';

   // Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
   echo '
   <div id="headerarea" style="padding: 12px 60px 4px 60px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';

   // The logo and the three info boxes.
   echo '
      <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="position: relative;">
         <tr>
            <td colspan="2" valign="bottom" style="padding: 0px; white-space: nowrap;">';

   // 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'], '/logo2.gif" width="46" style="float: left;" alt="" />
           <img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" />
               <span style="font-family: Arial Rounded MT Bold, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';

   echo '
            </td>
         </tr>
         <tr id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
            <td valign="top">
               <div class="headertitles" style="margin-right: 5px; position: relative;"><img src="', $settings['images_url'], '/blank.gif" height="12" alt="" /></div>
               <div class="headerbodies" style="position: relative; margin-right: 5px; background-image: url(', $settings['images_url'], '/box_bg.gif);">
                  <img src="', $settings['images_url'], '/', $context['user']['language'], '/userinfo.gif" style="position: absolute; left: ', $context['browser']['is_ie5'] || $context['browser']['is_ie4'] ? '0' : '-1px', '; top: -16px; clear: both;" alt="" />
                  <table width="99%" cellpadding="0" cellspacing="5" border="0"><tr>';

   if (!empty($context['user']['avatar']))
      echo '<td valign="middle">', $context['user']['avatar']['image'], '</td>';

   echo '<td width="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';

   // If the user is logged in, display stuff like their name, new messages, etc.
   if ($context['user']['is_logged'])
   {
      echo '


nokonium

Hi Trusted
I am working on revamping a Ramblers Group website. I have the following:
// This part is the logo and forum name.  You should be able to change this to whatever you want...
        echo '
                <center><table class=banner cellspacing="0" cellpadding="0" width="100%"><tr class=banner><td width="15%"><div align="center"><img src="http://nokonium.co.uk/sgr/Themes/SGR/images/RA-W-L.gif" alt="" align=center></div></td><td><div align="center"><img src="http://nokonium.co.uk/sgr/graphics/banner2.jpg" alt=""></div></td><td width="15%"><div align="center"><img src="http://nokonium.co.uk/sgr/Themes/SGR/images/SGR-R.gif" alt="" align=center></div></td></tr></table></center>';


I have a centered 'banner' consisting of an RA logo, a banner and a group logo. This will expand/shrink to fit different screen resolutions.

HTH



Advertisement: