Okay
  Public Ticket #1264941
several queries
Closed

Comments

  • Cemaro1 started the conversation

    Hello good, I have several queries, since I am inserting my first tables.
    I insert them all from google spreadsheet.

    How can I center all the texts in my tables, titles, and cells?
    How can I remove the page counter in some of my tables?
    How do I put a picture on google spreadsheet so that it comes out on my table?

    Thank you

  • [deleted] replied

    Hi Cemaro1,

    • You can center all the text in the table with CSS . You can add this code in CustomCSS field on Settings page of our plugin and it will center headers body and numeric values in table
    .wpDataTablesWrapper table.wpDataTable > thead > tr > th,
    .wpDataTablesWrapper table.wpDataTable > tbody > tr > td,
    .wpDataTablesWrapper table.wpDataTable > tbody > tr > td.numdata,
    .wpDataTablesWrapper table.wpDataTable > tfoot > tr > td {
        text-align: center; 
    }
    • You can remove it with CSS also
    .wpDataTablesWrapper .dataTables_paginate {
        display: none;
    }
    

    • You can put it either in HTML format and choose column type string or, better, you can put it in this format:
    http://domain.com/thumb.png||http://domain.com/fullsize.png
    

    and choose column type image and our plugin will show thumbnail size image in table and on click full size image. More on this in our Text documentation

  • Cemaro1 replied

    I have already pasted that css in the main configuration of the tables, and the preview comes out centered but then in the tables the texts do not go out centered in any
    What I can do?

    Thank you

  • [deleted] replied

    Hi Cemaro1,

    That means that your theme probably interference with CSS that I gave you,

    Please try to add !important declaration at the and, so it becomes:

    .wpDataTablesWrapper table.wpDataTable > thead > tr > th,
    .wpDataTablesWrapper table.wpDataTable > tbody > tr > td,
    .wpDataTablesWrapper table.wpDataTable > tbody > tr > td.numdata,
    .wpDataTablesWrapper table.wpDataTable > tfoot > tr > td {    
        text-align: center !important; 
    }


  • Cemaro1 replied

    Perfect solution, thanks

  • [deleted] replied

    Hi Cemaro1,

    You are welcome. We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!