News:

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

Main Menu

Table background

Started by RJGonzalez, April 21, 2009, 01:17:15 PM

Previous topic - Next topic

RJGonzalez

Where can i find tha main table background?

Marcus Forsberg

Hello RJGonzalez!

What do you mean by main table?

RJGonzalez

#2
http://www.ibnuevaesperanza.org/forum [nofollow] just under the first box there is an area that is not getting the table background it has the Iglesia Bautista Nueva Esperanza in it and all thru the table you can see the background

RJGonzalez

would this make it be able to see the background?

<div id="news_section" class="titlebg2 clearfix"'

still haven't found why the background can be seen thru the table

RJGonzalez

#4


why can i see the bockground and how can i fix it?

shadow82x

Please dont bump unless 24 hours have reached.

Your first problem is - your using a SMF2.0 theme for SMF1.1 causing language strings not to be loaded and tons css classes not being called for.

We can try adding the SMF2.0 linktree css class to ../Themes/{your_theme}/style.css
ul#linktree
{
    clear: both;
    list-style: none;
    margin: 1.5em 0.5em 0.5em 0.5em;
    padding: 0;
}
ul#linktree li
{
    margin: 0;
    padding: 0;
    display: inline;
    font-size: 0.8em;
}
ul#linktree li a
{
    color: #FFF;
}
ul#linktree li a:hover
{
    color: #CC3333;
}
ul#linktree li span
{
    font-weight: bold;
}


Although, I strongly suggest you use a theme suited for your SMF version. You will encounter many more errors and mismatching colors.
Colin B
Former Spammer, Customize, & Support Team Member

RJGonzalez

change few thing but the background still seen.

RJGonzalez

Well I just fix it it was not in any of the css files i knew that it was a table situation so i block my self with that one well is not a table is a div situation and can be found at:

index.template.php

opening line is at line 154 thru 169 of the original file with:
Quote

// Output any remaining HTML headers. (from mods, maybe?)
   echo $context['html_headers'], '
   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
      // Create the main header object.
      var mainHeader = new smfToggle("upshrink", ', empty($options['collapse_header']) ? 'false' : 'true', ');
      mainHeader.useCookie(', $context['user']['is_guest'] ? 1 : 0, ');
      mainHeader.setOptions("collapse_header", "', $context['session_id'], '");
      mainHeader.addToggleImage("upshrink", "/upshrink.gif", "/upshrink2.gif");
      mainHeader.addTogglePanel("user_section");
      mainHeader.addTogglePanel("news_section");
   // ]]></script>';

   echo '
</head>
<div style="background: #FDCD8C"><body><img src="http://www.ibnuevaesperanza.org/images/header.jpg [nofollow]" alt="Iglesia Bautista Nueva Esperanza" width="950" height="195" />';
}



Closing it at 358 thru 364 with:
Quote

function template_html_below()
{
   global $context, $settings, $options, $scripturl, $txt, $modSettings;

   echo '
</body></div></html>';
}


Advertisement: