MyBB Community Forums

Full Version: Add this widget on right side.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi MyBB, 

Can you help me to put this widget on the right side. I have downloaded many sidebar plugins but doesn't work. Maybe it needs manual correction. I am using default theme only.

Code:
<div id="btc-quote"></div>
<script type="text/javascript" src="//cdn-gh.firebase.com/btcquote/embed.js"></script>


 Your help is highly appreciated.
you can change the code as below
<div id="btc-quote" style="float: right;"></div>
<script type="text/javascript" src="//cdn-gh.firebase.com/btcquote/embed.js"></script>
(2016-02-18, 02:01 AM).m. Wrote: [ -> ]you can change the code as below
<div id="btc-quote" style="float: right;"></div>
<script type="text/javascript" src="//cdn-gh.firebase.com/btcquote/embed.js"></script>

Hi thanks for your response unfortunately. It's not working I have placed the code in the index page but the widget is still below the shoutbox. I want to be placed him on right side.

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$dvz_shoutbox}
<div id="btc-quote" style="float: right;"></div>
<script type="text/javascript" src="//cdn-gh.firebase.com/btcquote/embed.js"></script> 
{$forums}
{$boardstats}

<dl class="forum_legend smalltext">
	<dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
	<dd>{$lang->new_posts}</dd>

	<dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
	<dd>{$lang->no_new_posts}</dd>

	<dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
	<dd>{$lang->forum_locked}</dd>

	<dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
	<dd>{$lang->forum_redirect}</dd>
</dl>
<br class="clear" />
{$footer}
</body>
</html>
you can change your code like this
<div style="float: left; width: 80%;">
{$dvz_shoutbox}
</div>
<div id="btc-quote" style="float: right; width:20%;"></div>
<script type="text/javascript" src="//cdn-gh.firebase.com/btcquote/embed.js"></script> 
Thanks It works!