jasonyingling / easy-navigation

Everything needed to get a custom theme started with a nice navigation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

easy-navigation

Easy Navigation is a fully styled and functional desktop and mobile navigation to include in custom theme development. Easily update the colors via CSS or SCSS and get on with your theme development.

Quick Setup

  1. Download or clone the easy-navigation repository into your theme's root folder.
  2. Add require get_template_directory() . '/easy-navigation/site-header-functions.php'; to your theme's functions.php file.
  3. Place <?php get_template_part('easy-navigation/site-header'); ?> where you want your Easy Navigation header to show up.

Features

  • Support for the_custom_logo().
  • Support for separate primary and mobile menu locations.
  • Support for multilevel menus to infinity. But I don't recommend going that deep.
  • Call attention to certain links using .nv-callout class.
  • Make any link activate the dropdown search bar using the class .js-open-site-search.
  • Remove the hover underline from any link using the class .nv-no-underline.

Pro Tips

  • Grab a gradient from Grabient for the navigation background.

About

Everything needed to get a custom theme started with a nice navigation.

License:GNU General Public License v3.0


Languages

Language:CSS 97.0%Language:JavaScript 1.5%Language:PHP 1.4%