In my digital portfolio, I have divided it into "4 sections," each represented by a separate scrollable web page. These sections are also known as parts, starting from #part1 up to 4.
For section 1 (#part1), I prefer not to display the navigation bar. However, for sections 2, 3, and 4 (identified as #part2, #part3, and #part4), I would like the navigation bar to be visible.
I found an interesting example site that showcases the kind of navigation bar I want to implement in my portfolio.
I tried grouping sections 2, 3, and 4 together, but removing 'fixed-top' removed the navbar from section 1 while causing navigation bars in sections 3 and 4 to disappear.
Question:
How can I have the navigation bar appear on sections 2, 3, and 4, but remain hidden on section 1?
<body>
<!-- Page content -->
<!-- SECTION1 -->
<section id="part1">
.
. (omitted for brevity)
.
</section>
<div class="wrapsections">
<nav class="navbar fixed-top navbar-light bg-faded">
.
. (omitted for brevity)
.
</nav>
<!-- SECTION2 -->
.
. (omitted for brevity)
.
</section>
<!-- SECTION3 -->
.
. (omitted for brevity)
.
</section>
<!-- SECTION4 -->
.
. (omitted for brevity)
.
</section>
</div>
</body>