• Resolved V

    (@vekelectronic)


    When creating the table, I chose black color for the titles. But the site shows them in white!
    Interestingly, I used high-importance CSS commands to fix the problem, but still, their color is white!
    Choosing the right color does not work if the desired color that is selected should be displayed on the site.

    please see this picture. link in below

    https://i.postimg.cc/FR1zs89t/wp-table-problem.png

    Thank you for solving this problem

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Zahin Azmayeen

    (@permafrost06)

    Hello @vekelectronic, could you share a link to a page with the table, please? Thank you.

    Thread Starter V

    (@vekelectronic)

    thank you. I pasted the link below for you

    https://zaya.io/52xsf

    Plugin Contributor Zahin Azmayeen

    (@permafrost06)

    @vekelectronic, I’m pretty sure this is happening because of some custom CSS in “General Styles” (accessed from WPTB Settings in admin page). Please check and let us know if removing the style

    strong { color: #fff; }

    fixes the problem.

    Thread Starter V

    (@vekelectronic)

    @permafrost06

    Thanks but I don’t have any entries for all strongs and all titles or any other strong entries in the tables and I don’t want it to apply to all.
    In fact, the main problem is that the color settings are not working properly. I want to choose a different color for the tables depending on the background with different colors. With the CSS that you sent, I can’t have the desired colors because you sent a general command for everyone.

    Plugin Contributor Zahin Azmayeen

    (@permafrost06)

    Hi @vekelectronic,

    Sorry for the misunderstanding. The code I shared was to be removed from “General Styles” in WPTB settings.

    The color settings in the table is not working because the styles are getting overridden by WPTB General Styles.

    Now let’s solve the problem.

    Let’s find the CSS rule that is causing the table’s header color to change:

    Disabling this rule fixes the problem you are having – the headers are black now:

    Now, we need to find where this rule is coming from. We can find it here:

    It is coming from a style tag with an ID “wptb-general-styles”. Which means this rule is set from WPTB general styles. To fix this, go to WP Table Builder Settings, then go to “General Styles”. It may look something like this:

    Remove the CSS rule that’s causing the problem. It may look something like this:

    strong, b {
            color: #fff;
    }

    Remove it and save using the “Submit” button. I’m certain this will fix your problem. Please let us know if this still does not solve the issue.

    Thank you.

    • This reply was modified 1 year, 5 months ago by Zahin Azmayeen. Reason: Added clearer instructions
    Thread Starter V

    (@vekelectronic)

    @permafrost06 Yes I found it and my problem was solved with your solution.

    I removed these few lines of code (with force effect) that were included in the plugin settings.
    Did you put this code or I had already put it and forgot?
    If you put this code by default in the plugin, why did you do it? When each user chooses his favorite color in the settings of the tables?!
    However, now my problem is solved, and thank you for your help.
    I hope you will make your great plugin even better in the next updates.

    Thank you for your time.

    Plugin Contributor Zahin Azmayeen

    (@permafrost06)

    WP Table Builder is not shipped with any predefined general styles. Which, as you point out, would conflict with what a user selects in the builder.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with the color of table titles’ is closed to new replies.