Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Noor Alam

    (@naa986)

    Thanks for the feedback. The feature has been added. Please update the plugin and follow the instructions.

    Thread Starter Vladimir Bender

    (@vovastik)

    Thanks for the quick answer, but it doesn’t work.
    Class must be inserted instead “button” in <a> not “woocommerce” in <div>
    You can check it out on the “Kadence” WP theme + Gutenberg Blocks with AI by Kadence WP
    To render the btn-size-small style button, you need to add the following classes:
    class="kadence-btn-size-small kb-button kt-button button kt-btn-width-type-auto kb-btn-global-fill kt-btn-has-text-true kt-btn-has-svg-false wp-block-kadence-singlebtn"
    But this is not enough. To be fully functional, the plugin also needs the ability to add custom styles directly to the shortcode, like this:
    style="border: 0px solid rgba(0,0,0,0); border-radius: 3px; font-size: var(--global-font-size-small); padding: 0.4em 1em; text-align: center; align-items: center; justify-content: center;"

    If you implement this functionality, you will get an ideal plugin for inserting “Buy” button into all price tables created in the Gutenberg editor, which do not allow inserting blocks into cells.

    Thread Starter Vladimir Bender

    (@vovastik)

    Soorry , my typo.
    kadence-btn-size-small — is superfluous.
    I used this class to assign the above styles.

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