TablePress plugin Tutorial WordPress styling the CSS

TablePress for WordPress Intro

Ok now finally you understand how a table works we can move on to WordPress plugin Table Press. If you did not read the above section you may want to do that so you don’t get lost.  Here we go!

  1. If you have not installed it yet install the TablePress WordPress plugin.  Make sure that you activate it after the install.
  2. Create a table by navigating down on your dashboard to TablePress and click “Add New Table”
    • add a table in tablepress
    • Give it a name and a description
    • Pick the number of Rows and Columns that you want. The example above was 3 rows 3 columns.
    • Click “Add table”
  3. Now you will see your blocks appear, click inside the block you want to enter content into.
    • enter content in tablepress boxes
  4. Now you can either start writing text or you can choose to insert media from your medial library.  You will have to click in the box again after you click one of the buttons circles in red.
    • table manipulation for tablepress
    • If you just want to enter text with an image and links choose the advanced editor option. You will probably use this one the most.

Table Manipulation

table manipulation features in wordpress

  1. As we go down on the page in table manipulation we can see that we can hide or show a table. This would come in handy if we have a table that is live on the site and are currently editing it. It would also be useful if we are writing about time sensitive information.
  2. We can also duplicate the row we are on or insert a new one or delete a row all together.
  3. In the bottom part of the table manipulation we can add multiple rows.
  4. If we move over to the right hand side of table manipulation this has to do with the “columns” Remember the column above where I had one big row across the top and three underneath of it? Well that is where you would take care of something like this in “Combine Cells”
  5. Once again as with the rows you can show or hide columns to the users on the front end.
  6. You can also duplicate, insert of delete columns.
  7. Finally you can add multiple columns.

Table Options

If we wanted to treat this table like it had a footer and a header we would tick the options available. This is also good if you plan on using your own CSS to style these elements. Watch the video for complete instructions. This is a detailed procedure with several steps. Here you can also choose to alternate the background color of rows. You can choose whether to highlight when the mouse hovers over a row. You can even choose whether to show your title and descriptions above and below the table. The important thin here is that you can edit the CSS for this table in the link “Custom CSS”

Features of the Data Tables JavaScript Library

Here are some nice features, let me number them

Only cool people share!

  1. You can enable or disable the following features by ticking or unticking the first box.
  2. You can enable sorting for your visitors so they can manipulate the tables themselves.
  3. You can enable pagination which is also nice if you have a lot of content. They can page though your tables like a book. You can even choose how many default rows they will see when they first get to the page.
  4. Another feature with the pagination is if you have a lot of content in the tables. Lets say that you had 100 rows but wanted to give your visitor control over how much content they see. You can do it here. They will see a drop-down box where they can choose how many rows to see at one time.
  5. You can let your visitor know how many rows there are in the table they are viewing by clicking this option.
  6. You can enable horizontal scrolling as well.

WordPress plugin Table Press styling the CSS VIDEO TUTORIAL

Easy

Advanced

More Advanced ColSpan and RowSpan

TablePress plugin Tutorial WordPress styling the CSS was last modified: November 23rd, 2018 by Maximus Mccullough
tablepress plugin for wordpress

Pages:Previous 1 2 3 4 5 Next

11 Comments

  • Brad Scott says:

    I have very little experience about tablepress. Just use it in one of my client’s project. It’s very Handy.

  • Tin says:

    Hi Maximus, thanks for posting the blog & video tutorials, they’ve been very helpful! Question regarding where to place the CSS code: on your video, you pasted the CSS code on your WP’s Twenty Twelve stylesheet & not under TablePress ‘ Plugin Options tab in the Custom CSS field. How did you go about identifying the Twenty Twelve stylesheet is the correct place to paste the code & why isn’t the Custom CSS field used instead?

  • Liz says:

    Hi,
    I am new on wordpress and css, but I would like to know how the table can just take the style from my style.css? First the table header, I couldn’t make it work as I wanted,I add this to my newtable class on Plugin options
    (Also I added the newtable name on the table extra css classes):

    .newtable .row-1 {
    font: normal normal bold .85em/25px Arial, “Helvetica Neue”, Helvetica, sans-serif;
    padding: 4px 2%;
    text-align: left;
    border-top: 1px solid #f4f2e7;
    border-bottom: 1px solid #f4f2e7;
    border-right: 1px solid #f4f2e7;
    font-size: .9em;
    color: #f3f0e0;
    background: #635a52
    }
    and the font color never appeared right.

    Then I would like a border between all the columns and I tried adding the following but the table just didn’t take it:
    .newtable {
    margin: 0 0 25px 0;
    width: 100%;
    background: #f4f2e7;
    border-left: 1px solid #f4f2e7;
    border-right: 1px solid #f4f2e7;
    }
    I appreciate any help, I am using the My Life theme…
    Thanks a lot!

    • Liz says:

      I changed the borders color and no luck…

      • What is the name of your url where you are editing the table?

        • Liz says:

          Thanks for your advice, I am installing the custom css and try.
          I was updating directly on the style.css and didn’t work, so I wrote the code directly on the plugin options, on the custom css section.
          To be able to see cell borders I added something I don’t like too much, but worked. In my page I found the column-1 class (added by the table press plugin), and then I added the following on the custom css:
          .newtable .column-1,
          .newtable .column-2,
          .newtable .column-3,
          .newtable .column-4,
          .newtable .column-5,
          .newtable .column-6,
          .newtable .column-7 {
          border-top: 1px solid #f4f2e7;
          border-bottom: 1px solid #f4f2e7;
          border-right: 1px solid #f4f2e7;
          }

    • Hi Liz, install a plugin called custom css and enter the code there. This way if your theme ever has any updates you will not over ride your changes. Also the custom css plugin will be executed first so it will over ride any css that you have in the theme. I hope this helps. 🙂

  • diego says:

    great tutorial max! I have a question, is it possible to style the ColumnFilterWidgets for tablepress?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.