Hallo WP-Community,
ich benötige etwas Hilfe für einen Farbverlauf.
ich habe folgenden CSS-Code für einen Tabellen-Farbverlauf hinzugefügt:
Code
.features-table
{
...
background-image: -moz-linear-gradient(top, #fff, #eaeaea, #fff);
background-image: -webkit-gradient(linear,center bottom,center top,from(#fff),color-stop(0.5, #eaeaea),to(#fff));
...
}
Auf einer bestimmten Page verwende ich dann die Klasse .features-table bei einer Tabelle mittels Klasse:
Leider wird mir der Verlauf nicht übernommen bzw. korrekt dargestellt. Ich habe das Problem auch lokalisiert. Für das Theme existiert schon eine table Definition. Wie kann ich folgende Definition für eine bestimmte Page ausschalten?
Code
table {
font-size: 18px;
margin-bottom: 5%;
padding: 0;
width: 100%; }
table thead {
background: #f7f7f7; }
table thead th {
font-weight: bold; }
table td, #content table th {
padding: 10px; }
table td {
border-bottom: solid 1px #f7f7f7; }
table tr:last-child td {
border-bottom: none; }
table tr:nth-child(even) {
background: #f7f7f7; }
Alles anzeigen
Ich bin über jeden Ratschlag dankbar.
MFG ophir