Support » Fixing WordPress » WordPress Menu apply Classes and Page Transition

  • Is it possible to apply a class to the anchor tag of a wordpress menu item and not to the list tags that surround the anchor tags?

    because i am wanting to link the wordpress menu to this bit of code in order to create a page transition.

    $(document).ready(function() {
    $('body').css('display', 'none');
    $('.trans').click(function() {
    newLocation = this.href;
    $('body').fadeOut(500, newpage);
    function newpage() {
    window.location = newLocation;
  • The topic ‘WordPress Menu apply Classes and Page Transition’ is closed to new replies.