Code: Select all
.content a{
color: orange; text-decoration: none;
}
.content a:hover{
color: red;
}
Code: Select all
.content a span{
color: #000;
}
Is there another way to keep these styling independent from the stylesheet?
Moderator: mikey
Code: Select all
.content a{
color: orange; text-decoration: none;
}
.content a:hover{
color: red;
}
Code: Select all
.content a span{
color: #000;
}
Yes, by using a prefix for your template styles. Example for .content: .tpl_content or .tpl-content or .tata-content ...
Code: Select all
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
Code: Select all
.tpl_content * {
box-sizing: border-box;
margin: 0;
padding: 0;
}
Das Thema ist ein "heißes Eisen".
Code: Select all
.xh_search_results {}
.xh_search_results li {}
Leider war das nur ein Beispiel. Da gibt es noch viele andere.cmb wrote: ↑Fri Nov 16, 2018 12:45 pmWer den Effekt sehen möchte, muss halt die unglaublich umfangreichen Änderungen im Code selbst durchführen.Code: Select all
.xh_search_results {} .xh_search_results li {}
Ja, weiß ich doch. Daher ja auch die Überlegungen bzgl. Style-Guide und Admin-Template.