• Resolved da_PSI

    (@da_psi)


    Hi Tobias,

    I try to change the color of the hyperlinks. But it doesn’t work properly.

    When i use:
    .tablepress td a {
    color: #135390;
    }

    Its changing the all the fonts (colors) from the first table. But from the other tables, it only does the hyperlinks *that’s what i want though (But not the first table fully chagned)

    The code that i have now:
    .tablepress-id-1 tbody td {
    font-family: Antic Slab;
    font-size: 18px;
    color: #135390;
    }

    .tablepress-id-2 tbody td {
    font-family: Antic Slab;
    font-size: 18px;
    }

    .tablepress-id-3 tbody td {
    font-family: Antic Slab;
    font-size: 18px;
    }

    .tablepress-id-4 tbody td {
    font-family: Antic Slab;
    font-size: 18px;
    }

    .tablepress-id-5 tbody td {
    font-family: Antic Slab;
    font-size: 18px;
    }

    .tablepress-id-123 thead th {
    font-family: Antic Slab;
    font-size: 18px;
    align-content: center;
    }

    .tablepress thead th,
    .tablepress tfoot th {
    background-color: #135390;
    }

    .tablepress thead th {
    color: #ffffff;
    font-family: Antic Slab;
    font-size: 14px;
    }

    .tablepress-id-10 tbody td {
    font-family: Antic Slab;
    font-size: 18px;
    }

    .tablepress .column-1 {
    width: 80px;
    }

    .tablepress .column-2 {
    width: 400px;
    }

    .tablepress .column-3 {
    width: 300px;
    }

    .tablepress .column-4 {
    width: 300px;
    }

    .tablepress .column-5 {
    width: 100px;
    }

    .tablepress .column-6 {
    width: 100px;
    }

    .tablepress .column-7 {
    width: 100px;
    }

    Thanks in advance

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The change of the first table is caused by this (very first) block of CSS:

    .tablepress-id-1 tbody td {
      font-family: Antic Slab;
      font-size: 18px;
      color: #135390;
    }

    Just remove the color line from that and everything will be fine.

    Regards,
    Tobias

    Thread Starter da_PSI

    (@da_psi)

    It works!
    Thanks!

    Another cup of coffee/beer is coming your way!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!
    And thanks for the donation, I really appreciate it!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘change color of the links’ is closed to new replies.