Top navigation on sidebar

View Demo

Source


<!doctype html>

<html lang="en">

<head>

  <meta charset="utf-8">

  <title>Ditch top navigation from Muut forums</title>

  <!-- Optimize for mobile -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <!-- force latest IE rendering engine -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <!-- Page CSS -->
  <style>
    body {
       font-family: "myriad pro", tahoma, verdana, arial, sans-serif;
       font-size: 18px; margin: 0; padding: 0;
    }

    /* show feed only when logged */
    .m-pc .m-navi, .m-no-logged a[href="#!/feed"] { display: none }
    .m-pc .m-subnavi { padding-left: 0 }
  </style>

</head>

<body>

  <div class="muut">

    <a class="muut-url" href="http://muut.com/i/goma">Muut forums</a>

    <div class="m-h3 m-forums-title">Discussions</div>

    <!-- move top navi items to sidebar -->
    <a href="#!/">All posts</a>
    <a href="#!/feed">My feed</a>

    <!-- forum specific channels -->
    <a>Exhibitions</a>
    <a>Gallery cafeteria</a>

  </div>

  <script src="https://cdn.muut.com/1/moot.min.js"></script>

</body>

</html>

View Demo