• Resolved neozetare

    (@neozetare)


    Hello,

    When the description is added to the DOM-tree, it is in the form of <div><small class="smdfw">[[$description]]</small></div>. This makes unconvenient to target in CSS the div since it does not have a class.

    I think it would be neat to have something like <div class="smdfw-wrapper"><small class="smdfw">[[$description]]</small></div>instead.

    Anyway, it’s no big deal since I can always fork your repo, but I think it would be helpful for others if it was here!

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author thomascharbit

    (@thomascharbit)

    Hi,

    thanks for the report this is a good idea, I added the shipping_method_description class to the div tag.

    Also you can use the smdfw_description_output_html filter if you need to tweak the html output yourself.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Add a class to SMD “root” div’ is closed to new replies.