Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

CSS bug .select2-container – causes trouble in woocommerce products list

$
0
0

Replies: 0

The admin.css lines:

.select2-container {
z-index: 9999999;
}

.select2-container .select2-selection–single,.select2-container .select2-selection–single .select2-selection__rendered,.select2-container .select2-selection–single .select2-selection__arrow {
height: 30px !important;
line-height: 30px !important
}

—-

… especially the first part:
.select2-container {
z-index: 9999999;
}

… causes a problem in the woocommerce products list.

Can you refine the scope of the CSS selector – so that it becomes sth like:
woocm… .select2-container ??

It is wrong to style all .select2-container-s in the admin.

Thanks!

PS. Optimal solution would be to include the plugin’s admin.css ONLY on the plugin admin pages. Don’t include it on the whole admin and/or on the whole woocommerce admin pages. I hope that’s easy to do.


Viewing all articles
Browse latest Browse all 59525

Trending Articles