Adding class to table name and description
-
Hello,
This is a great plugin. One problem I have is that there is no container that wraps the table name, description, and table. For example something like this would be ideal:
<div class=”tablepress-container”>
<h2 class=”tablepress-table-name”></h2>
<span class=”tablepress-table-description”></span>
<table class=”tablepress”></table>
</div>If the custom CSS class option is added to the “tablepress-container” instead of the <table>, we can do things like set a fix width for the entire table, float, position as necessary. Currently the custom CSS classes are only added to the <table> which limits the ability to control the table display if there is a table name or description displayed.
Is there any consideration to make this change in a future release or is there a way for me to add the custom CSS class to the table name and description?
The specific problem I am having is when I make a table with custom CSS class=”small” and make it 300px wide, the table name and description are still 100% width and I can’t float or position all the elements together.
- The topic ‘Adding class to table name and description’ is closed to new replies.