WordPress.org

Forums

TablePress
[resolved] Background Colour CSS (6 posts)

  1. Inbi
    Member
    Posted 2 years ago #

    Hello

    I'm working with the TablePress Plugin a couple of month. And its just great.
    But now I have a little problem. In all my lists, I have changed the background colour via CSS. And now I createt a new list. But there, the colour doesn't change. Why? Shouldn't it change automaticly?
    What can/should I do?

    Thank you for your answer
    Best wishes
    Inbi

    http://www.bikeclub-steinen.ch

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Inbi,

    thanks for your question.

    On your site I can see three tables, all with a transparent background and the hover effect turned on.
    In the "Custom CSS" textarea, there's CSS code to change that color for two of these tables.

    Can you please clarify which table is not working as expected and what exactly you would like to change? Thanks!

    Regards,
    Tobias

  3. Inbi
    Member
    Posted 2 years ago #

    Hi Tobias

    You are really fast in answering the questions. Thank you very much.
    So it's the "Vorstand" which I would change the background hover effect. It's correct, that I already have made the effect. But now I would have the same color like in the other tables. (Like light violet)
    I had changed it in the CSS. But shouldn't it changed in this table automatically?

    Reagards
    Inbi

  4. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    thanks for the clarification.

    No, this will not change automatically in this case. The reason is that the "Vorstand" table has the ID 4, but in the "Custom CSS" you have only changed the background color for the hovered rows for tables 1 and 3. Just copy one of the blocks and change the ID in the code to 4 and you will get the effect on this table as well.

    You can also choose to change this background color on ALL tables, by deleting one of the two blocks and then changing

    .tablepress-id-1 .row-hover tr:hover td {

    to

    .tablepress .row-hover tr:hover td {

    This will then apply to ALL TablePress tables automatically.

    Regards,
    Tobias

  5. Inbi
    Member
    Posted 2 years ago #

    Oh, thank you so much. It works now perfectly.

    Best wishes
    Inbi

  6. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    no problem, you are very welcome! Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven't, please rate TablePress here in the plugin directory. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TablePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic