Search Bar broken on Mobile
-
Hi, our search-bar is broken on mobile.
Seems that as of version 4.6.26 something in the javascript is overwriting our styles despite us having chosen Skeleton Styles in the settings.
The section of JS thats running haywire over the theme\tribe-events\modules\bar.php file is in tribe-events-bar.js: 50
* @function eventsBarWidth * @desc eventsBarWidth applies responsive css classes to the bar to adjust its layout for smaller screens. * @param {jQuery} $tribebar The event bar jquery object. */ function eventsBarWidth( $tribebar ) { if ( $tribebar.parents( '.tribe-bar-disabled' ).length ) { return; } var tribeBarWidth = $tribebar.width(); if ( tribeBarWidth > 800 ) { $tribebar.removeClass( 'tribe-bar-mini tribe-bar-collapse' ).addClass( 'tribe-bar-full' ); } else { $tribebar.removeClass( 'tribe-bar-full' ).addClass( 'tribe-bar-mini' ); } if ( tribeBarWidth < 728 ) { $tribebar.removeClass( 'tribe-bar-mini' ).addClass( 'tribe-bar-collapse' ); closeFiltersToggle( $( '#tribe-bar-collapse-toggle' ) ); } else { $tribebar.removeClass( 'tribe-bar-collapse' ); openFiltersToggle( $( '#tribe-bar-collapse-toggle' ) ); } }
This wasnt overriding our css before…
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Search Bar broken on Mobile’ is closed to new replies.