• Resolved Kim103

    (@kim103)


    I am trying to change the H2 Table Name styling. Reading this support forum, I found a couple of CSS snippets that could work. But when I tried it, it failed on me. Please tell me how I can change the font color. Thanks.

    Attempt 1:
    h2.tablepress-table-name-id-2 {
    color: #ff0000;
    }
    Did not work

    Attempt 2:
    h2.tablepress-table-name {
    color: #ff0000;
    }

    Did not work

    http://ww.wp.xz.cn/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Most likely, your theme sets the styling for h2 elements in the page with a higher CSS specificity.
    Please try this code:

    h2.tablepress-table-name-id-2 {
      color: #ff0000 !important;
    }

    If that also doesn’t work, please post a link to the page with the table, where this is not working, so that I can take a direct look. Thanks!

    Regards,
    Tobias

    Thread Starter Kim103

    (@kim103)

    Thanks Tobias! Your solution worked perfectly!

    Thread Starter Kim103

    (@kim103)

    Marking as resolved.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    very cool! Great to hear that this helped!
    And thanks for the review, I really appreciate it!

    Best wishes,
    Tobias

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

The topic ‘H2 Table Name styling problem’ is closed to new replies.