SimplePortal

Social => General Discussion => Topic started by: Manu on June 18, 2009, 12:10:49 PM

Title: Need some help with a layout
Post by: Manu on June 18, 2009, 12:10:49 PM
Hi guys and girls,

don't know if it is ok when I asked here for some layout probs help. Shouldn't it be ok, please close or delete the topic.  ;)

At the moment we working at a new design for our website and forum. The idea is there, the layout found but I have a little coding problem.

I want to move the header of the layout I found a bit upper, but I don't know how.  :-[

In the attachment I have add 2 screens to show what my idea is and how it is at the moment. The index.template.php of the theme I have add too. I will be very happy when someone can take a look at it.  :-[
Title: Re: Need some help with a layout
Post by: ???1031 on June 19, 2009, 03:58:21 AM
Oh i see something on your local system :)

Code: (search for) [Select]
<div id="solkose">
<div id="sagkose">';
echo '
   <div id="cerceve">';
echo'
<a href="', $scripturl, '"><img src="', $settings['images_url'], '/header.gif" alt="', $context['forum_name'], '" width="900px" /></a> ';
template_menu();

Code: (Replace with) [Select]
<div id="solkose">
<a href="', $scripturl, '"><img src="', $settings['images_url'], '/header.gif" alt="', $context['forum_name'], '" width="900" /></a>
<div id="sagkose">
<div id="cerceve">';
template_menu();
Normal it should be at the top now.

Bye
Title: Re: Need some help with a layout
Post by: Manu on July 05, 2009, 03:35:03 AM
I tried your code, but it wasn't what I was looking for. ;)

I solved the problem in this way:

Code: [Select]

    <table width="100%" cellpadding="0" cellspacing="0" border="0" id="top-banner" >
     <tr>
     <td>&nbsp;</td>
      </tr>
     <tr>
      <td height="50">
      ',template_menu(),'
     </td>
      </tr>
    </table>

I searched this code
Code: [Select]
<div id="solkose">
<div id="sagkose">';
echo '
   <div id="cerceve">';
echo'
<a href="', $scripturl, '"><img src="', $settings['images_url'], '/header.gif" alt="', $context['forum_name'], '" width="900px" /></a> ';
template_menu();
removed the banner in it and cause of the table I insert, it looks like I want to have it. :D
Could be it isn't a professional solution, but it works as it should be.  ;)
SimplePortal 2.3.8 © 2008-2024, SimplePortal