• It’s a simple thing, but useful. It would be nice if you could add a class to the description so you doing styling and make the description distinct from the rest of the label.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Algoritmika

    (@algoritmika)

    Hi @waterfire,

    Thank you for the positive review, really appreciate it.

    Regarding adding class to description – I could do that, but the idea was to add as little additional HTML as possible, so plugin user could control HTML output completely. You can add class to the description manually, for example with something like this:

    <span class="shipping_description">Here goes the description text.</span>

    then you can style the description with shipping_description class.

    Please let me know if it’s good enough, or you think I should add <span class="shipping_description">... automatically?

    Best regards,
    Tom

    Thread Starter Tim Blankenship

    (@waterfire)

    Okay, that works. It seems like it might be nice if that was done automatically. I’m not sure if all users would need or want to style the description, but it’s adding less than 100 characters to the HTML. You might also want to indicate on the settings page that HTML is permitted in the description. I think in these types of option settings that HTML code is usually not permitted or stripped out when the settings are changed.

    Best, Tim

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘It works!’ is closed to new replies.