Hi,
thanks for your question!
That depends on which information you are printing with that Shortcode. By default, the Shortcode just prints text, so that the regular theme styling applies.
You can however wrap the Shortcode in a container element with a CSS class, which you can then use for styling. For example, you could wrap the Shortcode as
<span class="tablepress-table-info-content">[table-info ... /]</span>
and then use “Custom CSS” like
.tablepress-table-info-content {
font-size: 20px;
}
Regards,
Tobias
P.S.: I would really appreciate, if you could take a look at this previous thread about your review: http://wordpress.org/support/topic/bery-good-plugin
That would be really nice! Thanks!
tanks a lot !
I have a very big space between the result of [table] et [table-info], how can I reduce ?
THANKS
Hi,
good question. To inspect that, I’d need to see the table. Could you therefore please post a link to the page with the table?
Thanks
Tobias
About URL, Maybe delete it after reading ?
here
thanks
Hi,
thanks for the link! (Unfortuntely, I can not delete it here, if that’s what you meant, but you can now edit your post, if you want.)
The space below the table comes from your “Custom CSS”, where you have set a bottom margin of 10em. To change this, just change the first block of “Custom CSS” to
.tablepress {
width: auto;
margin: 1px auto 1em;
}
Additionally, I spotted a small mistake in the “Custom CSS”: After the fourth block, there’s a single }
. Please remove that.
Regards,
Tobias
NICE !!!
And finaly, the proprety :text-align: right;
dont run in the custom css
Mistake from my poor knowledge of css or ?
Thanks
Hi,
text-align
is not the correct property here, as the element is not directly text.
Instead, you will need float
(and some few things to make it look better):
.tablepress-table-info-content {
font-size: 10px;
float: right;
background-color: #aaaaaa;
display: block;
padding: 5px;
line-height: 1;
}
Also, there’s still that extra }
, and you should remove that.
Regards,
Tobias
Thanks a lot !
all is nice !
Hi,
very nice! Great to hear that!
Maybe this is a good time to review your rating from http://wordpress.org/support/topic/bery-good-plugin ? Maybe this helps getting TablePress a fifth star at http://wordpress.org/support/view/plugin-reviews/tablepress Thanks!
Best wishes,
Tobias