Title: Combine Java script breaks mobile menu
Last modified: March 14, 2021

---

# Combine Java script breaks mobile menu

 *  Resolved [trekkilandia](https://wordpress.org/support/users/trekkilandia/)
 * (@trekkilandia)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/combine-java-script-breaks-mobile-menu/)
 * Hi there, i’ve been using SG optimizer without problem, latelly i’ve noticed 
   that the menu is desappearing on mobiles.
 * I’ve tried disabling one by one all the optimization option and i’ve noticed 
   that the one that is causing this issue is **Combine Javascript Files.**
 * That optimization had great impacts on the site speed so I would like to keep
   it on.
    I was trying to exlude the single script for the menu but alas, i’m not
   expert enough and I can’t find it.
 * Could you help me out in any way with this issue?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcombine-java-script-breaks-mobile-menu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [5 years, 2 months ago](https://wordpress.org/support/topic/combine-java-script-breaks-mobile-menu/#post-14181932)
 * The JavaScript combination supports excludes. You should exclude the scripts 
   that fail to properly work when combined. Use the drop down menu. If the script
   isn’t there, there is a pinned thread how to exclude custom code using filters.
 *  Thread Starter [trekkilandia](https://wordpress.org/support/users/trekkilandia/)
 * (@trekkilandia)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/combine-java-script-breaks-mobile-menu/#post-14182085)
 * The drop down menu!
    I did not see that option.
 * Thanks very much.

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

The topic ‘Combine Java script breaks mobile menu’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

## Tags

 * [java-script](https://wordpress.org/support/topic-tag/java-script/)

 * 2 replies
 * 2 participants
 * Last reply from: [trekkilandia](https://wordpress.org/support/users/trekkilandia/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/combine-java-script-breaks-mobile-menu/#post-14182085)
 * Status: resolved