• Hi everybody.
    First of all, excuse me if I make some mistakes, my english is a bit broken because I’m French ??

    So, I use WP-Table-Reloaded, and some visitors told me that the color of the lines is too white for them (and for me so :P)
    Is there a way to easily change this white background on my table ? I know the color is changing when the mouse goes on a line, but I want to change the color one for all.

    If I must change things in the code, please guide me, I don’t know anything about this ^^’

    Moreover, I have another problem about the weight of my table. But I’ll check if I have the “Suhosin” add-on when possible.

    Thank you for your future answers,
    Gyoo.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi,

    can you post the link to the page with your table, so that I can see what’s going on with the white lines?

    And for the “Suhosin”: You should only have to worry about this if you have lost data in a large table when saving.

    Regards,
    Tobias

    Thread Starter Gyoo

    (@gyoo)

    https://idcraft.refuge-gaming.net/

    You’ll get the table directly with this link. You will see, at the end of the table, there’s a grey box that shouldn’t be grey. I managed (don’t know how) to save the last edit I made, but this grey box appeared, when there was something written before.

    What you say about Suhosin is right : the last time I wanted to add things in my table, T tried to create 10 new lines, but nothing happened. Moreover, all the checkboxes in the options became unchecked.
    I tried to add only 1 line, the same thing happened : no new line, and when I checked again the boxes, they came back to white.

    Hi,

    thanks for the link.

    This indeed looks like the Suhosin problem, judging from your description.

    And that grey box at the end is the result of the problem, too, because the last row got corrupted in the process and now has one cell less then the rest (and that’s why you see the grey box).
    Once the Suhosin problem is fixed, you will need to remove that last line as well and create it new.

    Now, I still don’t understand what you mean with “the color of the lines is too white for them”. What exactly do you want to change here?

    Regards,
    Tobias

    Thread Starter Gyoo

    (@gyoo)

    Well, I thought so for the Suhosin problem ??

    Now, I still don’t understand what you mean with “the color of the lines is too white for them”. What exactly do you want to change here?

    It was only a way to say that they want to have a “smoother” background, like grey, or any other color, but not white. And I can’t find the way to change the background color of the table. (Or do I only have to change the theme color ?)

    Hi,

    ah, ok, so you want to change the background color of the table cells.
    That’s possible with some “Custom CSS” code.

    In your case, try pasting the following into the “Custom CSS” textarea on the “Plugin Options” screen:

    .wp-table-reloaded-id-3 td {
      background-color: #ff0000!important;
    }

    and change the color to what you like.

    For more examples please see the FAQ page at https://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/faq/.

    Best wishes,
    Tobias

    Thread Starter Gyoo

    (@gyoo)

    It worked perfect with this custom CSS.
    I also made a CSS to change the border colors to black, but this makes a weird result… maybe due to the “shadow” of the border, that is grey.
    Is there a way to make the borders fully black ?

    With these codes, I’ll be able to make what I want with the colors ?? That you very much !

    Hi,

    it might not be enough to just change the color, you might need to replicate the width and style as well.

    Please try with this:

    .wp-table-reloaded-id-3 td {
      border: 1px solid #000000!important;
    }

    Regards,
    Tobias

    Thread Starter Gyoo

    (@gyoo)

    Well, the result is not what I expected it to be, but it’s even better than what I thought !

    Thank you again for your help ??

    Moreover, I’ve been informed that Suhosin is activated on my website. A friend told me tu create a .htaccess at the root, with php_flag suhosin.simulation On inside. I’ll try this ASAP.

    Hi,

    ok, here’s another (additional this time) piece of CSS code:

    .wp-table-reloaded-id-3 {
      border-collapse: collapse!important;
    }

    That should reduce the borders to a thin line.

    For the Suhosin issue: I’m not too familiar with Apache/Server configuration, but this sounds like a good idea. I hope it works!

    Regards,
    Tobias

    Thread Starter Gyoo

    (@gyoo)

    Well, I finally managed to put the .htaccess at the root of my website, but it changed nothing :/
    I’ll try to see the methods you gave before to other users.

    Thread Starter Gyoo

    (@gyoo)

    Finally, the only thing I found was to totally delete Suhosin… but now it works ^^

    I chose this because I get behind with my website, and I must hurry to finish it on time. So, when it will be done, I’ll get back on Suhosin to re-enable it without having issues like this.

    Thank you again for all the help you gave to me ??

    Hi,

    thanks for the confirmation that Suhosin caused this problem – again…

    Best wishes,
    Tobias

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin : wp-table-reloaded] Different line colors (and other things)’ is closed to new replies.