Upper Right Nav Button

With the Depth theme, you can add a button link to the upper right side of your site navigation (as shown on the Depth product page). Here’s how with a code snippet…

Copy and paste the code below into the RapidWeaver > Settings > Code > Body.

<script>$(function(){var button = '<a href="#">Buy Now</a>';$('header nav > ul,header > div').removeClass('cf').append('<li class="nav_btn">'+button+'</li>');$('header h1').css('margin-right','0');});</script>

Adjust the¬†<a href=”#”>Buy Now</a>¬†button code to your needs.

Was this helpful?