Log in

View Full Version : Unwanted block in footer


MaryTheG(r)eek
03-25-2010, 11:02 AM
Hello all,

Does anybody knows what template and/or stylevar I need to edit to remove the colored empty block that you can see in the attachment? Most probably the form's code is that causes this issue.

After modifying it, my footer template now is:

<div id="footer" class="floatcontainer footer">
<vb:if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw bbuserinfo.dstonoff};
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</vb:if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
{vb:raw template_hook.footer_javascript}
</div>
</div> <!-- closing div for body_wrapper -->
<div class="below_body">
<div id="footer_time" class="shade footer_time">{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div>
<div id="footer_copyright" class="shade footer_copyright">
<!-- Do not remove this copyright notice -->
{vb:rawphrase powered_by_vbulletin}
<!-- Do not remove this copyright notice -->
</div>
<div id="footer_morecopyright" class="shade footer_morecopyright">
<!-- Do not remove cronimage or your scheduled tasks will cease to function -->
{vb:raw cronimage}
<!-- Do not remove cronimage or your scheduled tasks will cease to function -->
{vb:raw vboptions.copyrighttext}
</div>
{vb:raw ad_location.ad_footer_end}
</div>


Greatfull to you
Maria

Seven Skins
03-25-2010, 11:19 AM
Editing the 1st line the code removes the box.

From:
<div id="footer" class="floatcontainer footer">

To:
<div id="footer" class="floatcontainer">

.

MaryTheG(r)eek
03-25-2010, 02:07 PM
Editing the 1st line the code removes the box.

From:
<div id="footer" class="floatcontainer footer">

To:
<div id="footer" class="floatcontainer">

.

Thank you:-)) I've tried removing the class refference at all but didn't worked.

Maria

Seven Skins
03-25-2010, 02:36 PM
It worked when I tried it in my footer.


Edit the 1st line of your footer template as below.

<div class="clear">

MaryTheG(r)eek
03-25-2010, 04:07 PM
It worked when I tried it in my footer.


Edit the 1st line of your footer template as below.

<div class="clear">

Sorry.... my bad English:-)) It worked fine according your instructions in the first reply. I just wanted to make a comment, that before my post here, I've tried removing the whole class refference.

Thank you again
Maria