Taxonomy Select field with radio buttons

Support MB Builder Taxonomy Select field with radio buttonsResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38226
    Cynthia ConserCynthia Conser
    Participant

    Hi. In one of my Taxonomy Select fields using the radio option, the selections are displaying inline while I prefer them in a list. Although the basic Radio field in the MB Builder includes a setting for inline display, the taxonomy select field does not have one I can detect. Please consider adding the setting in your next build. In the meantime, what is the best way to change it to a list display?

    #38228
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Currently, there is no option to change the field type radio list of the field taxonomy to single lines. But you can use this custom CSS code with the plugin Admin CSS MU to apply the code in the admin area to display options in single lines.

    .rwmb-taxonomy-wrapper .rwmb-input-list li {
        display: block;
    }
    #38276
    Cynthia ConserCynthia Conser
    Participant

    Thanks for responding. Unfortunately, this did not work for me. (I cleared caches.)

    #38281
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I got this. Please add a rule !important to override the current style of the field.

    .rwmb-taxonomy-wrapper .rwmb-input-list li {
    	display: block !important;
    }
    #38295
    Cynthia ConserCynthia Conser
    Participant

    Oops! My bad. The field type is Taxonomy Advanced rather than Taxonomy. I modified your CSS code to reflect this and it works great! Thanks again.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.