[Plugin: WP-Table Reloaded] How to center the text into the table
-
HELLO,
how How to center the text into the table ?
Picture : https://i42.tinypic.com/jb1ni9.png
Thanks
-
Hi,
you just need some “Custom CSS” (paste it into the textfield on the “Plugin Options” screen), like this:
.wp-table-reloaded td { text-align: center; }
Best wishes,
TobiasYou are the best, and this Plugin Rocks, do you Know that ? and your support is the best.
It worked but look at the first row it’s not centered what to do ? and the flags are ungornazied, how can i Organize them ?
Picture : https://i40.tinypic.com/dy6ag7.png
And is it possible not to center all the tables just want I want ?
Thanks
Hi,
thanks! ??
To center the first row, too, extend the code from above to
.wp-table-reloaded td, .wp-table-reloaded th { text-align: center; }
Of course you can also set this only for specific tables. In that case, you’ll need to use
.wp-table-reloaded-id-123
instead of.wp-table-reloaded
in the above code (123 needs to be changed to your table’s ID of course).And what do you want to achieve with the flags? Don’t you want them centered? Then, either create a new column for them, or try this code:
.wp-table-reloaded-id-123 img { float: right; }
Best wishes,
TobiasAmazing,everything worked like a charm.
I have another very small problem is that the 2 coulums are not equals, X1 is much bigger than X2 how to make them Equal ?
Picture : https://i42.tinypic.com/2d264xe.png
+ How can i center all the images ? without entering the ID in the CSS every time I make a tale.
How can i donate for this plugin ? it’s very cool, but i have $5 only ?? hope its ok.
Thanks
Hi,
you should be able to make the columns the same width with this code:
.wp-table-reloaded-id-123 .column-1, .wp-table-reloaded-id-123 .column-2 { width: 50%!important; }
With centering the images, you mean vertically now? That can be achieved with something like
.wp-table-reloaded td { vertical-align: middle; }
Note that I left out the
-id-123
, so that this will apply to all tables that you create. This code will then vertically center all text and images in the cells.Donations are greatly appreciated, and don’t worry, even $5 means a much to me! ?? The easiest way would be PayPal, see https://tobias.baethge.com/donate/
Thanks a lot and best wishes!
TobiasThanks Tobias.
I tried but Unfortunately it only accepts Paypal and paypal is not supported by my country.
can we donate via google checkout ?
Thanks, I like this MOD ??
Hi,
that’s unfortunate of course :-/
I don’t have a Google Checkout account yet, but I will look into it and maybe create one.Thanks for your willingness to donate however! I appreciate it!
Best wishes,
TobiasIt’s a Great mod, and you gave me good support. Google checkout is really cool ??
I have a Question, I made a table and I want to make like this table with some modification every week. Is there any option to import it ? because it’ll be hard to re-doing it with the new modifications.
Like first table created is :
1. Me
2. You
3. Here
..I want in the next table to be
1. You
2. me
3. Her
..So I can import it to save time + flag + description.
thank you
Btw I followed your tutorial here :
.wp-table-reloaded .column-1, .wp-table-reloaded .column-2 { width: 50%!important; }
Look if I have 3 columns : https://i43.tinypic.com/65pb1c.png
4 columns : https://i43.tinypic.com/15dbfc3.png
Is there a way to fix that ?
Thank you very Much.
Hi,
you can import tables and replace existing ones. But you have to make your changes somewhere before, likely in a spreadsheet program.
But as far as I see, you are only adding a new row before the existing ones, right? That’s pretty easy actually in the WP-Table Reloaded admin area… Why don’t you want to use that?For the column widths: What do you want to achieve? Make all columns the same widths?
To see why that is not working, I would need a page with that table and not just screenshots. Can you provide a link?Best wishes,
TobiasHello Thanks.
Yeah I need to have the same widths for every column.
This is the Link :
Hi,
ok, thanks for the clarification.
If you want all columns of a table to have the same widths, you can not just copy the code from my FAQ without adjusting it. You will of course need to change the 50% in the code to the correct value.
For your two tables, this code should do it:
.wp-table-reloaded-id-5 .column-1, .wp-table-reloaded-id-5 .column-2, .wp-table-reloaded-id-5 .column-3 { width: 33%!important; } .wp-table-reloaded-id-6 .column-1, .wp-table-reloaded-id-6 .column-2, .wp-table-reloaded-id-6 .column-3, .wp-table-reloaded-id-6 .column-4 { width: 25%!important; }
Best wishes,
TobiasHi Tobias Thanks.
I’ve asked my friend and he has donated today.
Thanks for the support ??
Hi,
thanks for that! I really appreciate it!
Best wishes,
TobiasHello Tobias,
I’d like to Know if can i make like this using this great Plugin ?
https://a.imageshack.us/img835/7890/standing.png
I want the border 0
Thanks
- The topic ‘[Plugin: WP-Table Reloaded] How to center the text into the table’ is closed to new replies.