MyBB Community Forums

Full Version: Remove DIV tags
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Link: http://sanparoshame.net/index.php

I'm trying to remove the MyBB copyright text from the footer since I substituted it with an image instead. However, every time I remove the credits, the footer goes completely wonky - images are shifted down and text is out of alignment.

I'm pretty sure the DIV tags are the cause of this, but I don't know which ones. Any help?

<div style="float: right; clear: both;">{$lang_select}</div>

Current code:

<div id="copyright">
{$lang->powered_by} <a href="http://www.mybboard.net" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://www.mybboard.net" target="_blank">MyBB Group</a>.
</div>

<br />

</div>
</div>

<div id="bottommenu">

<span class="links">
<a href="{$mybb->settings['bburl']}/tos.php">Terms of Service</a> | 
<a href="{$mybb->settings['bburl']}/privacy.php">Privacy Policy</a> | 
<a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> |   
<a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | 
<a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a>
</span>

<!-- The following copyright is embedded to give credit to the author of this theme, removing the credit is a breach of Dynaxel's terms of usage and you will be prosecuted to full extent. -->

<div style="float: left; margin-top: -3px;"><a href="http://www.dynaxel.com/" target="_blank"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/copyright.png" title="Designed by &copy; Dynaxel" alt="Design by &copy; Dynaxel"/></a></div>
<div style="float: left; margin-top: -3px;"><a href="http://www.dwellweb.com/" target="_blank"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/dwellweblogo.png" title="Hosted by &copy; Dwellweb" alt="Hosted by &copy; Dwellweb"/></a></div>
<div style="float: left; margin-top: -3px;"><a href="http://mybb.com/" target="_blank"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/mybblogo.png" title="Powered by &copy; MyBB" alt="Powered by &copy; MyBB"/></a></div>

</div>
</div>
Just remove this and don't touch anything else:

<div id="copyright">
{$lang->powered_by} <a href="http://www.mybboard.net" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://www.mybboard.net" target="_blank">MyBB Group</a>.
</div>
(2011-08-01, 10:41 AM)faviouz Wrote: [ -> ]Just remove this and don't touch anything else:

<div id="copyright">
{$lang->powered_by} <a href="http://www.mybboard.net" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://www.mybboard.net" target="_blank">MyBB Group</a>.
</div>

This is the end result:

[Image: footerp.jpg]

Could it be the theme perhaps?
Disable the debug information by going to Admin CP > Configuration > Settings > Server and Optimization Options > Advanced Stats / Debug information > No.

If you want to keep it, you'll have to do some tweaks.
(2011-08-01, 10:50 AM)faviouz Wrote: [ -> ]Disable the debug information by going to Admin CP > Configuration > Settings > Server and Optimization Options > Advanced Stats / Debug information > No.

If you want to keep it, you'll have to do some tweaks.

Excellent, it worked!

Is there another way I can view the debug information?
Like I said, you'd have to do tweak your theme a bit. If you can PM me an admin account to play with it would be a lot easier. Otherwise I'll be pretty much blinded because regular users (or guests) don't see the debug information.
(2011-08-01, 10:58 AM)faviouz Wrote: [ -> ]Like I said, you'd have to do tweak your theme a bit. If you can PM me an admin account to play with it would be a lot easier. Otherwise I'll be pretty much blinded because regular users (or guests) don't see the debug information.

PM sent.
The debug info is only for your account. You'd be the only person who would see the odd layout behavior. If it was me I'd just leave it alone.
Just remove the float:right; (#debug id) property from your global.css then activate debug information from your ACP and there must not be any layout deformations.
FYI it has already been fixed.
Pages: 1 2