Jak usunac menu?!
Odblokuj forum, lub udostępnij konto testowe, które ma możliwość przeglądania strony gdy jest ona zamknięta.
Otwarte, ale goście i tak nie mają opcji przeglądania.
Wklej tutaj szablonheader z ACP -> Style i szablony -> Szablony -> Twój styl -> Nagłówek
Wklej tutaj szablon
Pod Nagłówek - szablony masz na zielono napisany header , na prawo od tego napisu jest "Opcje' jak w to klikniesz to rozwinie się opcja edytuj albo coś w tym stylu. Wklej tutaj zawartość tego szablonu
1. Po co wklejasz screen? to nam nie pomoże.
2. Kliknij w header i skopiuj zawartość.
2. Kliknij w header i skopiuj zawartość.
[Obrazek: https://i.imgur.com/kCbZ1pc.png]
<div id="container">
<a name="top" id="top"></a>
<div id="logo">
<div class="wrapper">
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" title="{$mybb->settings['bbname']}" /></a>
</div>
</div>
<div id="header">
<div id="panel">
<div class="upper">
<div class="wrapper">
{$welcomeblock}
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
</div>
</div>
<div id="content">
<div class="wrapper">
{$bbclosedwarning}
{$unreadreports}
{$remote_avatar_notice}
{$bannedwarning}
{$pending_joinrequests}
{$awaitingusers}
<navigation>
<br />
Eh, komentarze z kodu są usunięte i wydawało się jakby ten kod miał być w tym szablonie, wrzuć szablon footer ze stopki i index z szablonów strony głównej
Dodatkowo nav z szablonów nawigacji, jeżeli faktycznie jest Ci ona zbędna.
Index szablon
Nav
Footer
<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}
<div class="forums" style="float: left; width: 76%;">{$forums}</div>
<div class="sidebar" style="float: right; width: 22%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead side">
<strong>Custom Sidebox</strong>
<div class="float_right" style="padding-top: 5px;"><i class="fa fa-newspaper-o"></i></div>
</td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam..
</span>
</td>
</tr>
</table><br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead side">
<strong><a href="online.php">{$lang->whos_online}</a></strong>
<div class="float_right" style="padding-top: 5px;"><i class="fa fa-child"></i></div>
</td>
</tr>
<tr>
<td class="trow1">
{$whosonline}
</td>
</tr>
</table><br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead side">
<strong><a href="stats.php">{$lang->boardstats}</a></strong>
<div class="float_right" style="padding-top: 5px;"><i class="fa fa-line-chart"></i></div>
</td>
</tr>
<tr>
<td class="trow1">
{$forumstats}
</td>
</tr>
</table>
</div>
<br class="clear" />
{$footer}
</body>
</html>
Nav
<div class="navigation">
{$nav}{$activesep}{$activebit}
<span class="toggle-container">
<a class="rightbutton" title="Hide Sidebar"><i class="fa fa-compress"></i></a>
<a class="leftbutton" title="Show Sidebar"><i class="fa fa-expand"></i></a>
</span>
</div>
Footer
<script type="text/javascript">
jQuery(function($) {
$("#backtop").hide();
$(window).scroll(function () {
if ($(this).scrollTop() > 400) {
$("#backtop").fadeIn(160);
} else {
$("#backtop").fadeOut(160);
}
});
$('.backtop').on( "click", function () {
$('html, body').animate({
scrollTop: 0
}, 650);
return false;
});
});
</script>
<script type="text/javascript">
jQuery(function($) {
$(".leftbutton").hide();
$(".rightbutton").on("click", function() {
$(".sidebar").animate({
height: "hide",
opacity: 0
}, 150, function() {
$(".forums").animate({
width: "100%"
}, 400)
});
$(this).hide();
$(".leftbutton").show();
Cookie.set("sidebar", "collapsed", 60 * 60 * 24 * 365);
return false;
});
$(".leftbutton").on("click", function() {
$(".forums").animate({
width: "76%"
}, 400, function() {
$(".sidebar").animate({
height: "show",
opacity: 1
}, 150)
});
$(this).hide();
$(".rightbutton").show();
Cookie.set("sidebar", "expanded", 60 * 60 * 24 * 365);
return false;
});
if (Cookie.get("sidebar") == "collapsed") {
$(".rightbutton").hide();
$(".leftbutton").show();
$(".forums").css("width", "100%");
$(".sidebar").hide();
}
if ($(".forums").length < 1) $(".toggle-container").hide();
});
</script>
<debugstuff>
</div>
</div>
<a class="backtop"><span id='backtop'><i class="fa fa-angle-up arr-adj"></i></span></a>
<div id="footer">
<div class="uppermid">
<div class="wrapper">
<div class="ft-row">
<div class="ft-col-1">
<h2>About Us</h2>
<span>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum.</span><br />
<br />
<div id="social">
<a href="https://facebook.com/" title="Facebook"><span class="sicon fb"><i class="fa fa-facebook"></i></span></a>
<a href="https://linkedin.com/" title="LinkedIn"><span class="sicon ln"><i class="fa fa-linkedin"></i></span></a>
<a href="https://google.com/" title="Google+"><span class="sicon gp"><i class="fa fa-google"></i></span></a>
<a href="https://twitter.com/" title="Twitter"><span class="sicon tw"><i class="fa fa-twitter"></i></span></a>
<a href="https://reddit.com/" title="Reddit"><span class="sicon re"><i class="fa fa-reddit-alien"></i></span></a>
</div>
</div>
<div class="ft-col-3">
<div class="ft-col-item">
<div class="ft-col-item-icon"><i class="fa fa-map-marker" aria-hidden="true"></i></div>
<div class="ft-col-item-title">
<span>Cedar Avenue</span>
<br />
<span>Los Angeles, USA</span>
</div>
</div>
<div class="ft-col-item">
<div class="ft-col-item-icon"><i class="fa fa-phone" aria-hidden="true"></i></div>
<div class="ft-col-item-title">
<span>+0 123 456789</span>
</div>
</div>
<div class="ft-col-item">
<div class="ft-col-item-icon"><i class="fa fa-question" aria-hidden="true"></i></div>
<div class="ft-col-item-title">
<span>support@company.com</span>
</div>
</div>
</div>
<div class="ft-col-2">
<div class="ft-head">Social</div>
<ul class="ft-menu">
<li><a href="#">Facebook</a></li>
<li><a href="#">Twitter</a></li>
<li><a href="#">Google+</a></li>
<li><a href="#">LinkedIn</a></li>
<li><a href="#">Pinterest</a></li>
</ul>
</div>
<div class="ft-col-2">
<div class="ft-head">Navigation</div>
<ul class="ft-menu">
<li><a href="{$mybb->settings['bburl']}">Forums</a></li>
<li><a href="{$mybb->settings['bburl']}/portal.php">{$lang->toplinks_portal}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
<li><a href="{$mybb->settings['bburl']}/showteam.php">Show Team</a></li>
</ul>
</div> <!-- end: ft-col-2 -->
<div class="ft-col-2">
<div class="ft-head">Social</div>
<ul class="ft-menu">
<li><a href="#">Facebook</a></li>
<li><a href="#">Twitter</a></li>
<li><a href="#">Google+</a></li>
<li><a href="#">LinkedIn</a></li>
<li><a href="#">Pinterest</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="lower">
<div class="wrapper">
<span id="copyright">
<!-- MyBB is free software developed and maintained by a volunteer community.
It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact,
to show your support for MyBB. If you choose to remove or modify the copyright below,
you may be refused support on the MyBB Community Forums.
This is free software, support us and we'll support you. -->
<span class="float_left">Powered by <a href="http://www.mybb.com" target="_blank" rel="noopener">MyBB{$mybbversion}</a>, © 2002-{$copy_year} <a href="http://www.mybb.com" target="_blank" rel="noopener">MyBB Group</a>.</span>
<span class="float_right">Theme designed {$lang->by} <a href="http://community.mybb.com/user-102346.html" target="_blank" rel="noopener">m0ckingbird</a> © 2015-{$copy_year}.</span>
<!-- End powered by -->
</span>
</div>
</div>
</div>
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
</div>
<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}
{$forums}
<br class="clear" />
{$footer}
</body>
</html>
<script type="text/javascript">
jQuery(function ($) {
$("#backtop").hide();
$(window).scroll(function () {
if ($(this).scrollTop() > 400) {
$("#backtop").fadeIn(160);
} else {
$("#backtop").fadeOut(160);
}
});
$('.backtop').on("click", function () {
$('html, body').animate({
scrollTop: 0
}, 650);
return false;
});
});
</script>
<script type="text/javascript">
jQuery(function ($) {
$(".leftbutton").hide();
$(".rightbutton").on("click", function () {
$(".sidebar").animate({
height: "hide",
opacity: 0
}, 150, function () {
$(".forums").animate({
width: "100%"
}, 400)
});
$(this).hide();
$(".leftbutton").show();
Cookie.set("sidebar", "collapsed", 60 * 60 * 24 * 365);
return false;
});
$(".leftbutton").on("click", function () {
$(".forums").animate({
width: "76%"
}, 400, function () {
$(".sidebar").animate({
height: "show",
opacity: 1
}, 150)
});
$(this).hide();
$(".rightbutton").show();
Cookie.set("sidebar", "expanded", 60 * 60 * 24 * 365);
return false;
});
if (Cookie.get("sidebar") == "collapsed") {
$(".rightbutton").hide();
$(".leftbutton").show();
$(".forums").css("width", "100%");
$(".sidebar").hide();
}
if ($(".forums").length < 1) $(".toggle-container").hide();
});
</script>
<debugstuff>
</div>
</div>
<a class="backtop"><span id='backtop'><i class="fa fa-angle-up arr-adj"></i></span></a>
<div id="footer">
<div class="lower">
<div class="wrapper">
<span id="copyright">
<!-- MyBB is free software developed and maintained by a volunteer community.
It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact,
to show your support for MyBB. If you choose to remove or modify the copyright below,
you may be refused support on the MyBB Community Forums.
This is free software, support us and we'll support you. -->
<span class="float_left">{$lang->powered_by} <a href="http://www.mybb.com" target="_blank" rel="noopener">MyBB{$mybbversion}</a>,
© 2002-{$copy_year} <a href="http://www.mybb.com" target="_blank" rel="noopener">MyBB
Group</a>.</span>
<span class="float_right">Theme designed {$lang->by} <a href="http://community.mybb.com/user-102346.html"
target="_blank" rel="noopener">m0ckingbird</a> © 2015-{$copy_year}.</span>
<!-- End powered by -->
</span>
</div>
</div>
</div>
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}
<!-- End task image code -->
{$auto_dst_detection}
</div>
Użytkownicy przeglądający ten wątek:
2 gości