2015-11-16, 07:45 PM
Hello everyone, i'm currently in the works of creating my own mybb theme, but i've run into a slight issue, i'm trying to add the welcome block into my forums nav menu, but it doesn't seem to be working when i add the code in this is what happens:
result:
![[Image: f901789d9ebc6723b4371f93aef6f0a6.png]](https://camo.mybb.com/7915edfa0d88c56425c3a0724a810538948b4aec/68747470733a2f2f692e6779617a6f2e636f6d2f66393031373839643965626336373233623433373166393361656636663061362e706e67)
where it says "Sir Twisted" is the welcomeblock, what i'm trying to do is get it to go in the blue bar across from "link , link 2 ...." etc... as you can see also the panel links seem to have messed up too.
now too fix them i use this code:
resulting in:
![[Image: 6c9feb97720c20f26782ecfad6b4a57c.png]](https://camo.mybb.com/9bc4d2cc33e47dcd978e8711fc07d5466dbd13ac/68747470733a2f2f692e6779617a6f2e636f6d2f36633966656239373732306332306632363738326563666164366234613537632e706e67)
but now the welcomeblock ( Sir twisted ) is in the panel, i've tried removing the panel html, but the problem still stays.
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="menu.css" />
<title>CSS Simple Drop Down Menu</title>
</head>
<body>
<div class="drop">
<ul class="drop_menu">
<li><a href='#'>Link 1</a>
<ul>
<li><a href='#'>Sub Link 1</a></li>
<li><a href='#'>Sub Link 2</a></li>
</ul>
</li>
<li><a href='#'>Link 2</a>
<ul>
<li><a href='#'>Sub Link 1</a></li>
<li><a href='#'>Sub Link 2</a></li>
<li><a href='#'>Sub Link 3</a></li>
<li><a href='#'>Sub Link 4</a></li>
</ul>
</li>
<li><a href='#'>Link 3</a>
<ul>
<li><a href='#'>Sub Link 1</a></li>
<li><a href='#'>Sub Link 2</a></li>
<li><a href='#'>Sub Link 3</a></li>
<li><a href='#'>Sub Link 4</a></li>
</ul>
</li>
</ul>
{$welcomeblock}
</div>
</body>
</html>
result:
where it says "Sir Twisted" is the welcomeblock, what i'm trying to do is get it to go in the blue bar across from "link , link 2 ...." etc... as you can see also the panel links seem to have messed up too.
now too fix them i use this code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="menu.css" />
<title>CSS Simple Drop Down Menu</title>
</head>
<body>
<div class="drop">
<ul class="drop_menu">
<li><a href='#'>Link 1</a>
<ul>
<li><a href='#'>Sub Link 1</a></li>
<li><a href='#'>Sub Link 2</a></li>
</ul>
</li>
<li><a href='#'>Link 2</a>
<ul>
<li><a href='#'>Sub Link 1</a></li>
<li><a href='#'>Sub Link 2</a></li>
<li><a href='#'>Sub Link 3</a></li>
<li><a href='#'>Sub Link 4</a></li>
</ul>
</li>
<li><a href='#'>Link 3</a>
<ul>
<li><a href='#'>Sub Link 1</a></li>
<li><a href='#'>Sub Link 2</a></li>
<li><a href='#'>Sub Link 3</a></li>
<li><a href='#'>Sub Link 4</a></li>
</ul>
</li>
</ul>
</div>
</body>
</html>
<div id="panel">
{$welcomeblock}
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
</div>
</div>
resulting in:
but now the welcomeblock ( Sir twisted ) is in the panel, i've tried removing the panel html, but the problem still stays.