Viewing 3 replies - 1 through 3 (of 3 total)
  • You could add a menu item to the relevant menu, and then use css to remove the item text and show an image instead.

    Thread Starter insnicky

    (@insnicky)

    Thanks for the idea! I searched for code to do that.

    Should this code work?

    .custom #menu-item-AAA a {
    display:block; height:24px; width:24px; padding:0px; margin-left:6px; outline:none; text-indent:-9999px;
    background-image:url(‘images/my-nav-sprite.png’); background-position:0 0;
    }
    .custom #menu-item-AAA a:hover { background-position:0 -24px; }

    You probably have to replace the AAA with the actualy menu-item number, but this is the idea yes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Navigation’ is closed to new replies.