Home Forums WoodMart support forum Put a button in a table

Put a button in a table

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #653195

    supergap
    Participant

    Hi,
    I’m using the Table Element that is great, but I would like to put in a cell a Woodmart Button or (in case) an Icon, so I can have something evident to clic on to choose the option on that row (more or less when choosing a version of a product). I can’t find the way, because in the editor I can’t find the way. Perhaps using a [ code ]?
    To better explain I make a simulation (attached file).

    Thanks a lot

    Attachments:
    You must be logged in to view attached files.
    #653288

    Hello,

    Currently, the Table element doesn’t support inserting complex elements like Woodmart buttons or icons directly through the visual editor. However, you can achieve this by switching to the Text/HTML editor inside the table cell and manually adding HTML for the button or icon.

    Like this: <a href="https://yourlink.com" class="wd-btn wd-style-default">Choose Option</a>

    See the Screenshot for a better understanding: https://ibb.co/Gr6BMHW

    Best Regards,

    #653308

    supergap
    Participant

    Hi, thanks a lot for fast reply.
    To be honest I can’t get the goal.
    After using your class I get (like also in your screenshot) just a link (no button appears).
    I try also to find some other class to apply to the button, but nothing changes.
    Thanks a lot

    Attachments:
    You must be logged in to view attached files.
    #653397

    Hello,

    Please use this HTML and change the value as per your requirements.

    <a href="https://yourlink.com" 
       class="btn wd-btn wd-style-default wd-size-md" 
       style="background-color: #3c82f6; color: #fff; padding: 10px 20px; border-radius: 8px; display: inline-block; text-align: center;">
       Choose Option
    </a>

    Best Regards,

    #653431

    supergap
    Participant

    Hi, thanks a lot!
    i solves the issue.

    #653541

    Hello,

    You’re very welcome! I’m glad I could help. If you need anything else, feel free to reach out!

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards,

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Put a button in a table’ is closed to new replies.