Support » Plugins » TablePress – Tabellenausrichtung

  • Hallo,

    ich wollte gerne den Inhalt einiger Tabellen mal ausnahmsweise nicht einfach nur linksbündig ausrichten, was das Plugin standardmäßig tut, sondern rechtsbündig (damit die Zahlen vernünftig untereinander stehen). Leider werden alle Versuche, diese zu erreichen, von der Seite ignoriert. Ich selber konnte aber auch partout nicht heraus finden, woran das liegt und freue mich über jede Unterstützung. Hier die verwendeten CSS:

    .tablepress-id-68 .row2 .column-2
    .tablepress-id-68 .row2 .column-3
    .tablepress-id-68 .row2 .column-4
    .tablepress-id-68 .row2 .column-5
    .tablepress-id-68 .row3 .column-2
    .tablepress-id-68 .row3 .column-3
    .tablepress-id-68 .row3 .column-4
    .tablepress-id-68 .row3 .column-5
    .tablepress-id-68 .row4 .column-2
    .tablepress-id-68 .row4 .column-3
    .tablepress-id-68 .row4 .column-4
    .tablepress-id-68 .row4 .column-5
    .tablepress-id-68 .row5 .column-2
    .tablepress-id-68 .row5 .column-3
    .tablepress-id-68 .row5 .column-4
    .tablepress-id-68 .row5 .column-5
    .tablepress-id-68 .row6 .column-2
    .tablepress-id-68 .row6 .column-3
    .tablepress-id-68 .row6 .column-4
    .tablepress-id-68 .row6 .column-5
    .tablepress-id-68 .row7 .column-2
    .tablepress-id-68 .row7 .column-3
    .tablepress-id-68 .row7 .column-4
    .tablepress-id-68 .row7 .column-5
    .tablepress-id-68 .row8 .column-2
    .tablepress-id-68 .row8 .column-3
    .tablepress-id-68 .row8 .column-4
    .tablepress-id-68 .row8 .column-5
    .tablepress-id-68 .row9 .column-2
    .tablepress-id-68 .row9 .column-3
    .tablepress-id-68 .row9 .column-4
    .tablepress-id-68 .row9 .column-5
    .tablepress-id-68 .row10 .column-2
    .tablepress-id-68 .row10 .column-3
    .tablepress-id-68 .row10 .column-4
    .tablepress-id-68 .row10 .column-5
    .tablepress-id-68 .row11 .column-2
    .tablepress-id-68 .row11 .column-3
    .tablepress-id-68 .row11 .column-4
    .tablepress-id-68 .row11 .column-5
    .tablepress-id-68 .row12 .column-2
    .tablepress-id-68 .row12 .column-3
    .tablepress-id-68 .row12 .column-4
    .tablepress-id-68 .row12 .column-5
    .tablepress-id-68 .row13 .column-2
    .tablepress-id-68 .row13 .column-3
    .tablepress-id-68 .row13 .column-4
    .tablepress-id-68 .row13 .column-5
    .tablepress-id-68 .row14 .column-2
    .tablepress-id-68 .row14 .column-3
    .tablepress-id-68 .row14 .column-4
    .tablepress-id-68 .row14 .column-5
    .tablepress-id-68 .row15 .column-2
    .tablepress-id-68 .row15 .column-3
    .tablepress-id-68 .row15 .column-4
    .tablepress-id-68 .row15 .column-5
    .tablepress-id-68 .row16 .column-2
    .tablepress-id-68 .row16 .column-3
    .tablepress-id-68 .row16 .column-4
    .tablepress-id-68 .row16 .column-5 {
    text-align: right !important;
    } .tablepress-id-69 .row2 .column-2
    .tablepress-id-69 .row2 .column-3
    .tablepress-id-69 .row2 .column-4
    .tablepress-id-69 .row2 .column-5
    .tablepress-id-69 .row3 .column-2
    .tablepress-id-69 .row3 .column-3
    .tablepress-id-69 .row3 .column-4
    .tablepress-id-69 .row3 .column-5
    .tablepress-id-69 .row4 .column-2
    .tablepress-id-69 .row4 .column-3
    .tablepress-id-69 .row4 .column-4
    .tablepress-id-69 .row4 .column-5
    .tablepress-id-69 .row5 .column-2
    .tablepress-id-69 .row5 .column-3
    .tablepress-id-69 .row5 .column-4
    .tablepress-id-69 .row5 .column-5
    .tablepress-id-69 .row6 .column-2
    .tablepress-id-69 .row6 .column-3
    .tablepress-id-69 .row6 .column-4
    .tablepress-id-69 .row6 .column-5
    .tablepress-id-69 .row7 .column-2
    .tablepress-id-69 .row7 .column-3
    .tablepress-id-69 .row7 .column-4
    .tablepress-id-69 .row7 .column-5
    .tablepress-id-69 .row8 .column-2
    .tablepress-id-69 .row8 .column-3
    .tablepress-id-69 .row8 .column-4
    .tablepress-id-69 .row8 .column-5
    .tablepress-id-69 .row9 .column-2
    .tablepress-id-69 .row9 .column-3
    .tablepress-id-69 .row9 .column-4
    .tablepress-id-69 .row9 .column-5
    .tablepress-id-69 .row10 .column-2
    .tablepress-id-69 .row10 .column-3
    .tablepress-id-69 .row10 .column-4
    .tablepress-id-69 .row10 .column-5
    .tablepress-id-69 .row11 .column-2
    .tablepress-id-69 .row11 .column-3
    .tablepress-id-69 .row11 .column-4
    .tablepress-id-69 .row11 .column-5
    .tablepress-id-69 .row12 .column-2
    .tablepress-id-69 .row12 .column-3
    .tablepress-id-69 .row12 .column-4
    .tablepress-id-69 .row12 .column-5
    .tablepress-id-69 .row13 .column-2
    .tablepress-id-69 .row13 .column-3
    .tablepress-id-69 .row13 .column-4
    .tablepress-id-69 .row13 .column-5
    .tablepress-id-69 .row14 .column-2
    .tablepress-id-69 .row14 .column-3
    .tablepress-id-69 .row14 .column-4
    .tablepress-id-69 .row14 .column-5
    .tablepress-id-69 .row15 .column-2
    .tablepress-id-69 .row15 .column-3
    .tablepress-id-68 .row15 .column-4
    .tablepress-id-69 .row15 .column-5
    .tablepress-id-69 .row16 .column-2
    .tablepress-id-69 .row16 .column-3
    .tablepress-id-69 .row16 .column-4
    .tablepress-id-69 .row16 .column-5 {
    text-align: right !important;
    }

    Gruß
    Christian

    Die Seite, für die ich Hilfe brauche: [Anmelden, um den Link zu sehen]

Ansicht von 2 Antworten - 1 bis 2 (von insgesamt 2)
  • Moderator Bego Mario Garde

    (@pixolin)

    Es gibt besser geeignete Foren, um CSS zu lernen.
    Da wird dir dann auch erklärt, dass du verschiedene Selektoren, denen die gleiche Eigenschaft zugewiesen werden sollen, mit einem Komma trennen musst.

    Thread-Status auf „keine Support-Frage“ geändert.

    Auch wenn wir hier eigentlich keine CSS-Probleme lösen wollen, das hier könnte in deinem Fall helfen:

    td:nth-last-child(-n+5) {
      text-align: right;
    }
    
Ansicht von 2 Antworten - 1 bis 2 (von insgesamt 2)
  • Das Thema „TablePress – Tabellenausrichtung“ ist für neue Antworten geschlossen.