Set Table Width
-
I want to post a small table on a page using Publication ID “2”, but no matter what I do in the plugin or what css I add, the table defaults to displaying at 100% page width. I would like to display it no wider than about 300 pixels and use a smaller font.
This is the page call, using the URL method:[wpdataaccess pub_id="2" filter_field_name="year" filter_field_value="1871%"]
This is the CSS I have added in the “Additional CSS” section of my child theme.
/* START of WP DATA ACCESS TABLE FORMATTING */ table.wpda-datatable thead th, table.wpda-datatable tfoot th { background-color: #085b8f !important; color: white !important; border: 1px solid #085b8f !important; } table.wpda-datatable { background: #ffffff !important; border: 1px solid #000000 !important; } table.wpda-datatable tbody td { border: 1px solid #000000 !important; } .wpda-datatable tfoot { display: none; } td.month { width: 80px !important; } td.received { width: 80px !important; } td.paid { width: 80px !important; } /* END of WP DATA ACCESS TABLE FORMATTING */
HELP!
The page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Set Table Width’ is closed to new replies.