Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Instead of messing around with CSS just to hide the “Edit” link below the table, I suggest to simply use this TablePress Extension: https://tablepress.org/extensions/remove-edit-link/

    Regards,
    Tobias

    Thread Starter djrikki

    (@djrikki)

    Thanks for your reply TobiasBg.

    Indeed that would work yes, but that’s that not the objective I am trying to achieve.

    On screen I am happy to display the Edit link to Users who this capability, but when the user wants to Print the page on paper (CTRL+P) I want the Edit link to disappear which hopefully better explains the naming of the CSS style ‘no-print’ – I use the media query ‘@media print’ to achieve this.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    ah, ok. Totally misunderstood this then… Sorry!

    In that case, a quicker solution could be to simply use the caption element as the CSS selector, e.g. with

    @media print {
      .tablepress caption {
        display: none;
      }
    }

    Regards,
    Tobias

    Thread Starter djrikki

    (@djrikki)

    That work equally as well, thank you for your suggestion, problem solved.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Edit Link CSS Support’ is closed to new replies.