Style the down nav state on a wordpress page

/ Published in: CSS
Save to your folder(s)

Wordpress has a built in class that you can style to style the down nav state for the page you are on. Adjust div name accordingly.

Copy this code and paste it in your HTML
  1. #navigation li a:hover,
  2. #navigation li.current_page_item a,
  3. #navigation li.current_page_ancestor a
  4. {
  5. color:#fff;
  6. background:#41af3d;
  7. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.