I have CSS template that I use for a document in modx.
In the CSS template is the following:
.ubuntu_style {
padding: 0.7em;
margin:5px;
background-color: #996633;
font-family: arial, verdana, sans-serif;
font-size:14px;
color:#ffffff;
}
But when I add the following statement to a chuck within my document the style from the CSS template is not applied to the chunk:
<p class="ubuntu_style">sudo tasksel</p>
Am I doing something wrong or is there no way to get CSS to work in a chunk?
I checked over my code and corrected a typo and it is working now - doh!