• Resolved madtho

    (@madtho)


    Wonderful plugin, thank you.

    Can I add a custom class to the shortcode? like
    [thermometer raised=250 width=80% class=bntherm] (this doesn’t seem to show a class)

    And how do I align the thermometer to the center? nothing seems to be working.

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author rhewlif

    (@henryp)

    Thanks!

    No, there’s no option to add a classname to the svg, but that could be a good thing to add in the next update. Depending what you want to do, you could wrap the shortcode in a div element and assign a class to that instead?

    Have you tried the shortcode parameter [thermometer align=center]?

    Thread Starter madtho

    (@madtho)

    Thank you!
    I’ll try giving the class to some more parents of the thermometer and see where I get. It’s in a column.

    I haven’t tried align= yet, that’s too easy!

    Plugin Author rhewlif

    (@henryp)

    FYI version 2.1.5 now has an editable class for the entire svg

    Thread Starter madtho

    (@madtho)

    Great, thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom class? and alignment’ is closed to new replies.