Created
May 28, 2022 12:39
-
-
Save dislokacia/c1f255b896d4ce759a513c63b709310a to your computer and use it in GitHub Desktop.
Hide Listing Grid widget before filtering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hide-listing { | |
visibility: hidden; | |
height: 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
$( document ).on( 'jet-filter-content-rendered', function() { | |
$( '.hide-listing').removeClass('hide-listing'); | |
}); | |
}); |
Author
dislokacia
commented
May 28, 2022
- https://prnt.sc/R1aaQtk0cx7d add the class "hide-listing" to provider
- https://prnt.sc/BDZF_tChBxOx add styles to Cutomizer
- https://prnt.sc/lvJoZdnt6D44 add js-code to the plugin for adding code
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment