I've successfully been able to apply my condition ("Show Comments") by highlighting the contents of a <p> paragraph and selecting my condition. BUT this doesn't serve me well for two reasons:
#1: I only want to apply this condition to a specific class of <p> I've defined in my Stylesheet. The class info is only visible from the text editor (which I prefer to work in for this reason) but it appears I'm only able to apply Conditions from the XML editor.
Code: Select all
p.comment
{
border-left: solid 4px #3498db;
line-height: 18px;
background-color: #f0f7fb;
background-position: 9px 0px;
background-repeat: no-repeat;
background-image: url('../Images/Icons/note.png');
padding-left: 60px;
padding-right: 60px;
padding-top: 15px;
padding-bottom: 15px;
border-left-style: solid;
border-left-width: 4px;
border-left-color: #3498db;
}
How can I apply the condition "Show Comments" automatically to every <p> of the class "comment"?