Zum Inhalt springen
Startseite » CF7 Snippets » Neu Radio Box in Listenansicht

Radio Box in Listenansicht

Standardmäßig stellt Contact Form 7 vor seiner Beschriftung ein Kontrollkästchen wie das folgende dar:

Kontrollkästchen-Standardlayout

Sie können diese Reihenfolge umkehren, indem Sie dem Tag eine Option hinzufügenlabel_firstcheckbox .

[Kontrollkästchen your-cb label_first "Option 1" "Option 2" "Option 3"]
Kontrollkästchenlayout umgekehrt

Kontrollkästchen als Block statt als Original-Inline darstellen

Um Kontrollkästchen als Blockfelder darzustellen, fügen Sie dem Stylesheet Ihres Designs eine Zeile mit einer CSS-Stilregel hinzu:

1span.wpcf7-list-item{ display: block; }
Kontrollkästchen-Layoutblock

Kontrollkästchen als Tabelle darstellen

Um Kontrollkästchen als Tabelle darzustellen, fügen Sie dem Stylesheet Ihres Designs diese CSS-Stilregeln hinzu:

12span.wpcf7-list-item{ display: table-row; }span.wpcf7-list-item* { display: table-cell; }
Kontrollkästchen-Layouttabelle

(Kombiniert mit label_firstOption)