• Resolved ryan1122

    (@ryan1122)


    Hi,
    what is the custom CSS to add a basic button to a 4th column of a table with ID ‘1’?

    I tried the following, but it doesn’t seem to work

    .tablepress-id-1 .column-4 a {
    border: 1px solid #000000;
    white-space: nowrap;
    font-size: 12px;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    background-color: #ffff00;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This CSS code would style any links in the 4th column of table 1 as a button. You will however first have to add HTML code for a link into the actual cell, e.g.

    <a href=""https://example.com/">Button text</a>
    

    Regards,
    Tobias

    Thread Starter ryan1122

    (@ryan1122)

    Thanks solved

    • This reply was modified 7 years, 5 months ago by ryan1122.
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

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