Home › Forums › CSS › A menu item kept outside the collaped menu button › Reply To: A menu item kept outside the collaped menu button
January 22, 2016 at 5:56 am
#237154
Atelierbram
Participant
The button I want everyone to click should be in the main menu of my site with Different css styling to draw attention to it.
- In the
HTML
, move the button to just outside thenav
for the menu - target this in the
CSS
using any layout module, like flexbox
<div class="wrapper-menu">
<nav class="nav">
<ul class="nav_list">
<li><a href="#!">menu-item</a></li>
<li><a href="#!">menu-item</a></li>
<li><a href="#!">menu-item</a></li>
</ul>
</nav>
<a href="#!" class="btn btn-cta">View Trial Lesson Times</a>
</div>