Support » Plugin: TablePress » Text color when placing a link in a cell

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    No, the link is not ignoring the CSS, but instead there’s probably more specific CSS that targets links in your theme already. We’ll therefore need to override that. For that, please post the link to the page with the table, and describe how you want the links to the appear.

    Regards,
    Tobias

    Tobias, no need to be sorry. Not sure why I didn’t of the good old style=color tag, Thanks for jogging the old memory that is just learning WordPress.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ah, no please don’t use a style tag here. That’s ugly and will make it harder for you to maintain this in the future. We can simple set the color via CSS, i.e. something like

    .tablepress tbody td a {
      color: #ff0000;
    }

    Whether the code will work in this state depends on the theme, so I suggest to just try it. If it does not work, please post a link, and I’ll find the correct code.

    Regards,
    Tobias

    Even better. Works like a charm. Now my cell code looks like this.
    <a target="_blank" href="dox/Superplast300.pdf">A36</a>

    Look ok?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, that’s great! Simple and easy, and the styling is all done via CSS 🙂

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Text color when placing a link in a cell’ is closed to new replies.