I am currently working on a webpage that includes a side navigation bar. I recently started using semantic-ui and its grid system, but I'm facing an issue where the content of the page flows under the side nav and gets hidden. I have tried various solutions such as placing the sidenav in a 4 width column and the rest of the page in a 12 width one, but it hasn't resolved the problem. The vertical menu also has the 'left fixed' option enabled.
I experimented with different parameters and classes for the sidenav, including trying to make it visible without being fixed. However, according to the documentation, the content should not flow beneath the sidenav, so I'm unsure of what I'm doing wrong.
Below is a snippet of my code:
<html >
<head>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.2/semantic.min.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/app.css">
<link rel="icon" type="image/png" href="images/favicon.ico">
</head>
<body>
<div class="ui inverted teal menu">
<div class="right menu">
<a class="ui item">Sign In</a>
<a class="ui item">Login</a>
<a class="ui item">Logout</a>
</div>
</div>
<div class="ui left fixed vertical menu teal inverted">
<div class="header item"><a href='/'>MyApp</a></div>
<% for(var cat in allCats) { %>
<div class="item">
<a class='header' href="/<%= cat %>" ><%= cat %></a>
<div class="menu">
<ul>
<% for(var subCat in cat) { %>
<li><a class="item" href="cat/subCat" ><%= subCat %></a></li>
<% } %>
</ul>
</div>
</div>
<% } %>
<a class="item">About Us</a>
</div>
<h1 class='title-format'>Welcome to MyApp!!!</h1>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.2/semantic.min.js"></script>
</body>
</html>
A simple h1 element displaying "Welcome to My App" seems to go under the side navbar when resizing the window.
Any help would be greatly appreciated!