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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This is possible with CSS code. For some inspiration, please see https://tablepress.org/faq/change-font-family-size-color/

    Regards,
    Tobias

    Thread Starter samzg

    (@samzg)

    Hi TobiasBg:

    I tired this code, It works fine, However I want only text color change, but this code make the whole table as a same color, all red or all green.

    Any advice would be appreciate

    Thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I’m not sure what you mean. This code would only change the text color.

    Regards,
    Tobias

    Thread Starter samzg

    (@samzg)

    I am sorry TobiasBg, I made a mistake. I like to change individual text like U green and D red in my table. This code changed all of them to one color.

    Please see: https://www.5d-mp.com/market

    Tanks

    Samzg

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ah, ok. For that, you could then use https://tablepress.org/faq/highlight-cells-or-content/

    Regards,
    Tobias

    Thread Starter samzg

    (@samzg)

    I tried the both in the link but not change it at all. I only need highlight the content not the background to make it colorful. Look like it is not that simple. I have lot Wish your new version TP update.

    Thanks Tobias

    Regards,

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    so just change the CSS property:

    .tablepress-id-N .row-X .column-Y {
        color: #ff0000;
    }

    Regards,
    Tobias

    Thread Starter samzg

    (@samzg)

    I past this to Plugin Option but no any change of table content

    .tablepress-id-2816 .row-2 .column-B {
    color: #ff0000;
    }

    Any suggestions would be appreciate

    Regards

    Thread Starter samzg

    (@samzg)

    Hi Tobias:
    I imported a table from excel file into TablePress, everything work fine except symbol in the cell(up arrow and check mark) not display properly. Any suggestions would be appreciate.

    I love TablePress after compared with other table plugins. It’s very easy, very stable. If you could make it insert symbol or keep the symbol from excel file and color it. It would be the best table maker plugin in the WordPress.

    Thanks

    Sam

    Thread Starter samzg

    (@samzg)

    Hi, Tobias
    After post, I tried again for solid arrow symbol in excel, It works fine, but the empty arrow and check marks and X mark still not working.

    Please see: https://www.5d-mp.com/market/

    Regards,

    Sam

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Sam,

    for the color CSS: Please use

    .tablepress-id-2816 .row-2 .column-2 {

    in the CSS, i.e. column numbers instead of letters.

    For the arrow/check mark characters: This is caused by the way how Excel exports these. Please try saving the file to CSV first and then import that into TablePress. That way, the symbols should be preserved.

    Regards,
    Tobias

    Thread Starter samzg

    (@samzg)

    Hi Tobias,

    Thanks for your quikly reply. I past this to Plugin Option:

    tablepress-id-2816 .row-2 .column-2 {
    color: #ff0000;
    }

    There is no any change in the table. Any suggestions?
    Thanks

    Sam

    Thread Starter samzg

    (@samzg)

    I tried using CSV file in excel and even worse. Please see:

    https://www.5d-mp.com/2016-2/

    Thanks

    Sam

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Sam,

    are you sure that you are using the correct table ID, 2816?
    Also, don’t forget the dot at the beginning, i.e.

    .tablepress-id-2816 .row-2 .column-2 {
      color: #ff0000;
    }

    For the CSV file: Can you check in a text editor (like Notepad), if the CSV file is in the UTF-8 character encoding? Without this, the characters can not be imported correctly.

    Regards,
    Tobias

    Thread Starter samzg

    (@samzg)

    Hi Tobias,
    You are right, After put a dot at the beginning, It works. Thanks.

    When I save excel file as CSV, there are three type, 1) CVS(Comma delimited);2) CSV (Macintosh);3) CSV (MS-DOS). I use PC, only in 1) or 3), I tried both of them can not export the symbols properly.
    Thanks

    Sam

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘How to change font color?’ is closed to new replies.