Moin,
ich habe mir eine CSS-Anweisung gebaut um das Design der Forenkategorien etwas anzupassen. Leider werden die Anweisungen auch überall dort benutzt die die gleichen Selektoren nutzt. Gibt es die Möglichkeit die Änderungen nur auf die Board-List anzuwenden? Muss man dazu eine neue Class im Template anlegen oder kann man das mittels CSS machen?
CSS
/* Foren Kategorien */
.tabularBoxTitle > header {
background: rgba(0, 0, 0, 0,) !important;
color: rgba(0, 114, 167, 1) !important;
padding-left: 0 !important;
padding-right: 0 !important;
padding-bottom: 0 !important;
border-bottom-width: 2px !important;
width: 95% !important;
border-bottom: 2px solid currentColor !important;
margin-left: 20px;
}
.wbbCategory.wbbCollapsibleCategory > header > h2 > a {
flex: none;
background-color: rgba(0, 114, 167, 1) !important;
padding: 5px 10px;
color: rgba(250, 250, 250, 1);
font-size: 16px;
font-weight: bold;
margin-right: auto;
}
.tabularBoxTitle > header .icon {
color: rgba(0, 114, 167, 1) !important;
}
.section > ul > .tabularBoxTitle.jsCollapsed > header {
border-radius: 3px;
margin-bottom: 15px;
}
@media (max-width: 768px){
.tabularBoxTitle > header {
width: 95% !important;
border-bottom: 2px solid currentColor !important;
margin-left: 10px;
}
}
Alles anzeigen
Danke schon mal!