Skip to content

Sticky nav inside on "header element", do not works. #30

@jquimera

Description

@jquimera

I'm trying to use Sticky-State this way. But it's not working. Example below.

<header class="main-header">
	
	<div class="header-content">
		<h1>My Stick Nav</h1>
	</div>

	<nav  class="main-nav sticky">
		<ul>
			<li><a href="#">Home</a></li>
			<li><a href="#">Products</a></li>
			<li><a href="#">Services</a></li>
			<li><a href="#">About US</a></li>
			<li><a href="#">Blog</a></li>
			<li><a href="#">Contact</a></li>
		</ul>
	</nav>
	
</header>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions