• Resolved nordicnatcasino

    (@nordicnatcasino)


    Hello Tobias

    Thanks for the great plugin. I am having issues with vertical align, have tried Everything but nothing seems to be working.

    I saw an older thread: https://www.ads-software.com/support/topic/vertical-alignment-11/
    and tried that code but nothing happened. I have also tried :

    .tablepress thead th, .tablepress tbody td { text-align: center; } td.column-1, td.column-2, td.column-3, td.column-4, td.column-5, td.column-6 { vertical-align: middle !important; }

    and nothing happened either. I have also tried (this is how the entire css looks like now):

    .tablepress thead th,
    .tablepress tfoot th {
    background-color: #a0ce4e;
    }

    .tablepress-id-1 {
    width: auto;
    margin: 0 auto 1em;
    }

    .tablepress-id-1 .column-1 {
    width: 50px;
    vertical-align: middle;
    }

    .tablepress-id-1 .column-2 {
    width: 250px;
    vertical-align: middle;
    }

    .tablepress-id-1 .column-3 {
    width: 200px;
    vertical-align: middle;
    }

    .tablepress-id-1 .column-4 {
    width: 200px;
    vertical-align: middle;
    }

    .tablepress-id-1 .column-5 {
    width: 200px;
    vertical-align: middle;
    }

    .tablepress-id-1 .column-2 {
    padding: 5px;
    vertical-align: middle;
    }

    .tablepress-id-1 .column-6 {
    vertical-align: middle;
    }

    .tablepress-id-1 tbody td {
    font-family: Tahoma;
    font-size: 14px;
    }

    But nothing seems to be working. The images and text in the cells are not vertically aligned. Any ideas would be appreciated. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nordicnatcasino

    (@nordicnatcasino)

    Nevermind, I just fixed it…. the issue was that I put the css code in Tablepress css under the plugin options. I had to put it in the customize css file for the theme.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Great! Good to hear that you were able to fix this already! This was a CSS priority conflict then.

    Regards,
    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Vertical Align Problem’ is closed to new replies.