Title: Font Shakes When Hovering
Last modified: August 22, 2016

---

# Font Shakes When Hovering

 *  [aaroncadena](https://wordpress.org/support/users/aaroncadena/)
 * (@aaroncadena)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/font-shakes-when-hovering/)
 * On my website, the font is shaky when I hover over it. There was no hover tag
   for the submenu items so I created one but still no results.
 * My mock up site is khosravimortgage.pinkraffle.com
 * Any help would be great!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * (@crouchingbruin)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/font-shakes-when-hovering/#post-5511604)
 * The problem is that in the non-hovered state, the link elements have a padding-
   top of 5px, but in the hovered state, the link elements have a padding of 0px,
   so it looks like the menu text jumps up 5px when you hover over it.
 * You can try adding this rule through a child theme or using a CSS plugin like
   Jetpack or [Custom CSS Manager](http://wordpress.org/plugins/custom-css-manager-plugin/).
 *     ```
       .new-container ul.menu li:hover ul.sub-menu li a:hover {
           padding-top: 5px;
       }
       ```
   
 *  Thread Starter [aaroncadena](https://wordpress.org/support/users/aaroncadena/)
 * (@aaroncadena)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/font-shakes-when-hovering/#post-5511607)
 * Thanks for the help. I added that in but it’s still doing the same thing
 *  [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * (@crouchingbruin)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/font-shakes-when-hovering/#post-5511608)
 * Where (i.e., which file or plugin) did you add the CSS? I’m having a hard time
   finding it.
 *  Thread Starter [aaroncadena](https://wordpress.org/support/users/aaroncadena/)
 * (@aaroncadena)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/font-shakes-when-hovering/#post-5511612)
 * The theme has a separate php file css for some reason and it’s called index.css.
   php
 *  [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * (@crouchingbruin)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/font-shakes-when-hovering/#post-5511658)
 * OK, _do not edit the theme files directly_. If the theme ever gets upgraded because
   of a security patch, feature enhancement, or because of a WordPress upgrade, 
   then your changes will be lost. If the theme does not have a Custom CSS option,
   then install a CSS plugin and add the CSS to that.

Viewing 5 replies - 1 through 5 (of 5 total)

 The topic ‘Font Shakes When Hovering’ is closed to new replies.

 * 5 replies
 * 2 participants
 * Last reply from: [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/font-shakes-when-hovering/#post-5511658)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
