Home / Disable / CCT select field width 100%
Duplicate Snippet

Embed Snippet on Your Site

CCT select field width 100%

Code Preview
php
<?php
add_action( 'admin_head', function () {
	$page = isset( $_GET['page'] ) ? sanitize_key( $_GET['page'] ) : '';
	if ( strpos( $page, 'jet-cct-' ) !== 0 ) {
		return;
	}
	?>
	<style>
		/* Obyčajný select */
		.cx-ui-select-wrapper,
		select.cx-ui-select,
		/* Multi select / select2 (ak ho niekde máš) */
		.cx-ui-select-wrapper .select2-container {
			width: 100% !important;
			max-width: 100% !important;
			box-sizing: border-box;
		}
	</style>
	<?php
} );

Comments

Add a Comment