Title: Jquery error basic theme, customizer
Last modified: November 28, 2016

---

# Jquery error basic theme, customizer

 *  Resolved [Hendrik57](https://wordpress.org/support/users/hendrik57/)
 * (@hendrik57)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/jquery-error-basic-theme-customizer/)
 * I’ve a jquery error that shows up in the inspect screen of Chrome when i use 
   the WP Customizer. It says:
 * Uncaught Error: Syntax error, unrecognized expression: DIV.widget-wrapper,DIV.
   widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-
   wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.widget-wrapper,DIV.colophon-
   widget.widget-wrapper,DIV.,DIV.footer-widget(…)
 * It seems there is something going wrong in functions-sidebar.php. Disabling the
   register-sidebar removes the error. The advise to add ‘class => ”, before the‘
   before…’ lines does not solve the problem.
 * On other sites there is a ‘register_widget(‘….’) function before. This is not
   in the responsive-mobile theme. Perhaps this causes it.
 * Please have a look at the code to solve this issue.
    (All WP & Themes & Plugins
   are up to date. I also bought the Pro plugin. On the test site only the basic
   install + responsive mobile is active.)

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

 *  Theme Author [CyberChimps](https://wordpress.org/support/users/cyberchimps/)
 * (@cyberchimps)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/jquery-error-basic-theme-customizer/#post-8514806)
 * Hi,
 * Thanks a lot for pointing out this issue in the theme.
    We will soon update the
   theme with the fix. Meanwhile, you can try the following solution: In the file
   functions-sidebar.php, please add the class “responsive-mobile-top-widget” on
   line number 131.
 * Hope this solves the issue.
    Thanks.
 *  Thread Starter [Hendrik57](https://wordpress.org/support/users/hendrik57/)
 * (@hendrik57)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/jquery-error-basic-theme-customizer/#post-8517313)
 * Ok. The error is gone when I made this:
    `'before_widget' => '<div id="%1$s" 
   class="responsive-mobile-top-widget %2$s">',`
 * After resetting the theme options there is this error:
    load-scripts.php?c=1&
   load[]=underscore,customize-base,wp-a11y,customize-controls,backbone,wp-util,
   w…:10 GET [http://localhost/wp-dev2/wp-content/plugins/cyberchimpsoptions/lib/css/skins/.css?ver=4.6.1](http://localhost/wp-dev2/wp-content/plugins/cyberchimpsoptions/lib/css/skins/.css?ver=4.6.1)
   It goes away after manualy save/confirm the option for a default skin.
 * But, after this change the background color of the top-menu changed to black.
   It seems as if the style-rtl.css version is activated. There is:
 *     ```
       #top-menu-container {
         padding: 5px 0;
         background-color: #333333;
       }
       ```
   
 * while in style.css is:
 *     ```
       #top-menu-container {
         padding: 5px 0;
         background-color: #733333;
       }
       ```
   
 * I think the code in the rtl version should match the default version, #733333.
   
   Changing this however had no influence.
 * I do not know what is happening, but the class ‘responsive-mobile-top-widget’
   is not in any code of the theme.
    Perhaps you can have a look at this.
 *  Thread Starter [Hendrik57](https://wordpress.org/support/users/hendrik57/)
 * (@hendrik57)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/jquery-error-basic-theme-customizer/#post-8517364)
 * Ohhh. In the latest theme both colors are set to #333333. So, updating the theme
   must have caused the color issue in the top-menu.
    So only the not existing class
   and the skin default issue are left.
 *  Theme Author [CyberChimps](https://wordpress.org/support/users/cyberchimps/)
 * (@cyberchimps)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/jquery-error-basic-theme-customizer/#post-8523197)
 * Oh..got that. Thanks again for letting me know. I am working on that and will
   release update shortly. Meanwhile I have fixed the issue of the non existing 
   class and releasing an update by today eod.
 *  Theme Author [CyberChimps](https://wordpress.org/support/users/cyberchimps/)
 * (@cyberchimps)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/jquery-error-basic-theme-customizer/#post-8527782)
 * Hi,
 * The updated version of the theme has been released. In this version, the issue
   of the non existing class has been resolved.
 * Thanks.
 *  Thread Starter [Hendrik57](https://wordpress.org/support/users/hendrik57/)
 * (@hendrik57)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/jquery-error-basic-theme-customizer/#post-8532044)
 * Thanks !
 *  Theme Author [CyberChimps](https://wordpress.org/support/users/cyberchimps/)
 * (@cyberchimps)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/jquery-error-basic-theme-customizer/#post-8580230)
 * Hi,
 * The second issue of the default skin existed in the Pro Features plugin and not
   in the Responsive Mobile theme. This issue has been fixed and the updated version
   of the plugin has been released.
 * Thanks.

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

The topic ‘Jquery error basic theme, customizer’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/responsive-mobile/1.15.1/screenshot.
   jpg)
 * Responsive Mobile
 * [Support Threads](https://wordpress.org/support/theme/responsive-mobile/)
 * [Active Topics](https://wordpress.org/support/theme/responsive-mobile/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/responsive-mobile/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/responsive-mobile/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [CyberChimps](https://wordpress.org/support/users/cyberchimps/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/jquery-error-basic-theme-customizer/#post-8580230)
 * Status: resolved