• Resolved wibias

    (@wibias)


    Hey!

    Thanks for this awesome table plugin. Left a 5-Star rating for it.

    Is it possible or could it be a added that when u click on a cell at links you to another site? Like anywhere in that cell not just at the text?

    Greetings Wibias

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aki Hamano

    (@wildworks)

    Thank you for your review!

    To make an entire cell a link element, the text link inside the cell can be expanded to fill the cell, as shown below:

    • Select the target cell
    • Set zero padding
    • Set Cell CSS class (e.g. cell-link)
    • Enter text and apply a link to the entire text
    • Add custom CSS like this:

      .wp-block-flexible-table-block-table .cell-link a {
        display: flex;
       ?height: 200px; /* Depends on your site */
        align-items: center;
        justify-content: center;
        /* Add other styles... */
      }
    Thread Starter wibias

    (@wibias)

    Soo thats actually working just fine. Thanks a bunch.
    Changed display: flex to grid though.
    Shouldn’t be a problem right? With flex it just looked awkward stacking the text from left to right instead of from top to bottom.

    My custom css is looking like this right now:

    .wp-block-flexible-table-block-table .cell-link a {
      display: grid;
      height: 180px;
      align-items: center;
      justify-content: center;
      color: #000000 !important;
      text-decoration: none;
    }
    Plugin Author Aki Hamano

    (@wildworks)

    It is up to you to decide what style to apply.
    I think we’ve solved the problem, so I’ll close this topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Hyperlink to whole cell’ is closed to new replies.