Decrease Movement on the Sidebar

Support Area Forums Foxy Decrease Movement on the Sidebar

Viewing 5 posts - 1 through 5 (of 5 total)
URL to the page in question:
  • Author
    Posts
  • #4202
    Michael D’Onofrio
    Participant

    Is there a way to stop the 2nd row of sidebars from moving when hovering over with the mouse? The movement makes it difficult to click which bar the user wants.

    Thanks,
    Mike

    #4203
    Bill Robbins
    Moderator

    You can turn off the shrinking movement for the entire navigation, but I don’t believe you can just for the sub-menu items. Here’s how to turn it off globally.

    1. Go to the appearance section of your WordPress control panel and select edit to open up the theme editor
    2. From the list of files on your right, choose custom-js.php
    3. Look for this spot:

      // navigation animation
      var timer = 150; //time in milliseconds

      $j(‘aside.sidebar .menu li a’).hover(function() {
      $j(this).animate({ marginLeft: ’25px’ }, timer);
      },
      function() {
      $j(this).animate({ marginLeft: ‘0px’ }, timer);
      });

      and delete it.

    4. Save your changes and that should remove the shrinking movements in the navigation.

    If you have any other questions, please let me know.

    #4213
    Michael D’Onofrio
    Participant

    Works like a charm. Thanks!

    #4635
    Michael D’Onofrio
    Participant

    Looks like the shrinking movement came back somehow even with the code deleted. Maybe it was because of the wordpress update.

    How can I shut it off again?

    #4647
    Bill Robbins
    Moderator

    Michael,

    Any way you can send me a link to where you’re working with the theme so I can take a closer look?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Decrease Movement on the Sidebar’ is closed to new replies.