Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Select2 CSS width Problem

Home / Forums / Virtue Theme / Select2 CSS width Problem

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
December 21, 2017 at 3:56 am

Hi,

I have a problem with my form’s country field. Please be kindly to look into it.

Please see the country select2 box (URL in next post). It should be at full width, like the other input fields.

Actually, it will be displayed correctly for about 1-2 seconds at full length, but then, I believe, be overriden (and shortened) via the themes(?) CSS. I like the length to remain at full width, like the other input fields.

I think the CSS, after everything is established, be currently at:

.select2-container .select2-choice > .select2-chosen {
margin-right: 26px;
display: block;
overflow: hidden;
line-height: 38px;
white-space: nowrap;
text-overflow: ellipsis;
float: none;
width: auto;
}

Your help and advice is much appreciated.

Thank you

Rainer

  • The forum ‘Virtue Theme’ is closed to new topics and replies.