Hi Joao,
I found actually that this code worked better:
body .x-alert.first p,
body .x-alert.first {
font-family: 'Mandali', serif;
color: #4d8fcb;
font-size: 14px;
font-style: normal;
font-weight: normal;
}
but I wanted this code to only apply to the first alert box that I have in the text and not the other one. So I added the class “first” to the alert box that I want to change like this:
<p>[alert type="info" close="false" heading="Some of the oddities you can find at Awaza:" class="left mts mrs; first" style="display:inline-block; max-width: 350px; margin-bottom: 0; vertical-align: text-bottom;"] • Concrete yachts </p><p>• Spas offering treatments that involve strong magnets</p><p>• A sumptuous riverside restaurant ... that is solely for the enjoyment of the president. No riffraff permitted! [/alert]</p>
so that the CSS would only apply for that alert box, but it didn’t work, and the other alert box is still affected.
Could you please tell what I am doing wrong with the Alert code/CSS?
Thank you,
EW