Title: Content Jumping with JavaScript Enabled
Last modified: February 25, 2018

---

# Content Jumping with JavaScript Enabled

 *  Resolved [dromanov31](https://wordpress.org/support/users/dromanov31/)
 * (@dromanov31)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/content-jumping-with-javascript-enabled/)
 * Hello!
 * When loading any page of my blog, page elements (fonts, divs and menu bar) jumps
   slightly. It happens in any browser, even on mobile device.
 * When I disable JavaScript, pages load correctly (excluding elements which need
   JS).
 * I suppose this bug happens because of niceScroll.js but I can be wrong with this.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontent-jumping-with-javascript-enabled%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [dromanov31](https://wordpress.org/support/users/dromanov31/)
 * (@dromanov31)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/content-jumping-with-javascript-enabled/#post-10013149)
 * Solved after 4 hours of trying and searching.
 * The problem was in inline CSS (I don’t know exactly from where it loads). It 
   is setting height of menu bar to 54 px. But in template.css the height was 46
   px. That’s it!
 * I’ve set the height value in template.css to 54 px, and now everything works 
   just fine.
 *  Theme Author [alexvtn](https://wordpress.org/support/users/alexvtn/)
 * (@alexvtn)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/content-jumping-with-javascript-enabled/#post-10013179)
 * Hi [@dromanov31](https://wordpress.org/support/users/dromanov31/),
    thanks for
   sharing this fix with us.
 * I’ll check this issue as soon as possible
 * Have a nice day
 * Alex
 *  Thread Starter [dromanov31](https://wordpress.org/support/users/dromanov31/)
 * (@dromanov31)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/content-jumping-with-javascript-enabled/#post-10014319)
 * I’ve just installed clean WordPress with clean Venice Lite theme.
 * Content jumping depends on the font size of the menu. The bigger the font the
   more noticeable jump.
 * For example, when menu font size is set to 22 px, inline style height of header-
   wrapper div is 59 px, but in template.css this height is always 46 px.
 * I also noticed that header-wrapper height inline style loads dynamically. But
   there are lots of JS scripts in this theme, so I can’t understand which of them
   inserts this inline style 🙂
 *  Theme Author [alexvtn](https://wordpress.org/support/users/alexvtn/)
 * (@alexvtn)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/content-jumping-with-javascript-enabled/#post-10016813)
 * Hi [@dromanov31](https://wordpress.org/support/users/dromanov31/),
 * This is not a bug of Venice theme.
 * A javascript function automatically adjust the topbar heigh, based on the menu
   font size.
 * You can include the following custom css code, as you said, going to appareance
   > customize > additional css
 * #header-wrapper { height:54px}
 * Have a nice day
 * Alex
 *  Thread Starter [dromanov31](https://wordpress.org/support/users/dromanov31/)
 * (@dromanov31)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/content-jumping-with-javascript-enabled/#post-10016848)
 * Ok, thanks 🙂

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

The topic ‘Content Jumping with JavaScript Enabled’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/venice-lite/1.6.5/screenshot.jpg)
 * Venice Lite
 * [Support Threads](https://wordpress.org/support/theme/venice-lite/)
 * [Active Topics](https://wordpress.org/support/theme/venice-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/venice-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/venice-lite/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [jumping](https://wordpress.org/support/topic-tag/jumping/)

 * 5 replies
 * 2 participants
 * Last reply from: [dromanov31](https://wordpress.org/support/users/dromanov31/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/content-jumping-with-javascript-enabled/#post-10016848)
 * Status: resolved