Title: Styling, table sizing, js loading
Last modified: September 1, 2016

---

# Styling, table sizing, js loading

 *  Resolved [digitalsmithy](https://wordpress.org/support/users/digitalsmithy/)
 * (@digitalsmithy)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/)
 * Hi. A few issues/requests,
 * The table content breaks over lines because the table cells aren’t wide enough.
   Could you offer any idea how to force the table cell width a bit wider? Which
   css?
 * I’d like to style the preview modal to match my others – but you’ve !important
   on it all. Why? Bringing me to…
 * Feature suggestions:
 * You use !important in much css. Since most selectors are unique (mdocs-xyz) there’s
   no need. Could you remove the !important and make it easier to add custom styles?
 * The jquery call added by MD is very early in the page – forcing me to move jquery
   load into the head. Could it be moved to the footer for page-speed?
 * Great plugin tho, and thanks 🙂
 * [https://wordpress.org/plugins/memphis-documents-library/](https://wordpress.org/plugins/memphis-documents-library/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480704)
 * I need to see you site in actions in order to find a solution for you.
 * Since mDocs has to interact with so many different styles the important tag used
   in order to counter act theme styles removing them would break other peoples 
   experience.
 * I’ve been testing this for more than 2 years now and this is the best solution
   currently.
 * If you want you could disable mDocs jQuery from the setting menu and then load
   you own jQuery using your theme.
 *  Thread Starter [digitalsmithy](https://wordpress.org/support/users/digitalsmithy/)
 * (@digitalsmithy)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480707)
 * Thanks. Fair point about compatibility with so many themes/plugs.
 * I do load my own JQuery – but if I do so in the footer, I get an error and MDOCS
   fails.
 * This line causes the issue:
 * ‘ <script type=”application/x-javascript”>
    jQuery( document ).ready(function(){
   mdocs_wp(‘[http://recovery.digitalsmithy.co.uk/wp-content/plugins/memphis-documents-library/&#8217](http://recovery.digitalsmithy.co.uk/wp-content/plugins/memphis-documents-library/&#8217);,‘/
   home/digitals/public_html/recovery/’); }); </script> ‘
 * It complains about jQuery being undefined (as it hasn’t loaded yet).
 * The site is still in dev here: recovery.digitalsmithy.co.uk
 * Advise on table format still appreciated – and thanks for your work/response 
   🙂
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480716)
 * good point, I will add a feature that will have the ability to load either in
   the header or footer.
 *  Thread Starter [digitalsmithy](https://wordpress.org/support/users/digitalsmithy/)
 * (@digitalsmithy)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480726)
 * which makes you a splendid human being 🙂
 * any thoughts on the table css?
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480728)
 * is your site open, can I see it?
 *  Thread Starter [digitalsmithy](https://wordpress.org/support/users/digitalsmithy/)
 * (@digitalsmithy)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480729)
 * yep- is incomplete but ‘live’
    [http://recovery.digitalsmithy.co.uk](http://recovery.digitalsmithy.co.uk)
 *  Thread Starter [digitalsmithy](https://wordpress.org/support/users/digitalsmithy/)
 * (@digitalsmithy)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480730)
 * sorry – is resources or (cogs) (i’m playing with the menu a bit…) to get to mdocs…
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480731)
 * so refresh me again, what is the issue with the table again?
 *  Thread Starter [digitalsmithy](https://wordpress.org/support/users/digitalsmithy/)
 * (@digitalsmithy)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480732)
 * ok. doing 3 things at once. mdocs is under the ‘book’ menu item not cogs…
 * not an ‘issue’ as such. Have turned all columns back on. when you view it, especially
   in smaller browser (laptop), all columns are too narrow for content.
 * I’ve noticed the total room (table head width) isn’t used (i.e. columns don’t
   fill table width).
 * I can set font to 13px and it all looks nicer and fits – but I need 16px really(
   accessibility)
 * But I’m struggling to see what css to mess with to increase column widths…
 * Ta
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480733)
 * send me the link to the problem page please 🙂
 *  Thread Starter [digitalsmithy](https://wordpress.org/support/users/digitalsmithy/)
 * (@digitalsmithy)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480734)
 * [http://recovery.digitalsmithy.co.uk/resources/?mdocs-cat=mdocs-cat-4&att=null](http://recovery.digitalsmithy.co.uk/resources/?mdocs-cat=mdocs-cat-4&att=null)
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480736)
 * open the memphis-documents.css file: starting at line 126:
 *     ```
       /* TABLE STYLE */
       .mdocs-list-table #batch { word-break: break-all !important; width: 1%; }
       .mdocs-list-table #title { word-break: break-all !important; font-size: 14px !important; }
       .mdocs-list-table #downloads { word-break: break-all !important; width: auto !important; text-align: center; }
       .mdocs-list-table #version { word-break: break-all !important; width: auto !important; text-align: center; }
       .mdocs-list-table #owner { word-break: break-all !important; width: auto !important; text-align: center;}
       .mdocs-list-table #update { word-break: break-all !important; width: auto !important; text-align: center;}
       .mdocs-list-table #rating { width: 11% !important; text-align: center; }
       .mdocs-list-table #download { width: auto !important;  text-align: right; padding: 0 5px 0 0 !important; }
       ```
   
 * notice the width: auto, you can change these values to a set width or percentage.
 *  Thread Starter [digitalsmithy](https://wordpress.org/support/users/digitalsmithy/)
 * (@digitalsmithy)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480737)
 * Thanks – appreciate the help 😀

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Styling, table sizing, js loading’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [js](https://wordpress.org/support/topic-tag/js/)
 * [style](https://wordpress.org/support/topic-tag/style/)
 * [tables](https://wordpress.org/support/topic-tag/tables/)

 * 13 replies
 * 2 participants
 * Last reply from: [digitalsmithy](https://wordpress.org/support/users/digitalsmithy/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/styling-table-sizing-js-loading/#post-7480737)
 * Status: resolved