XF 1.4 Notices won't obey CSS rules in Extra


I am trying to apply some css styling rules to a notice I created. I unchecked the "Add default notice text styling" and went to notice in style properties and cleared all values. Still it will not obey some CSS rules.

Here is the Notice HTML:

<p class="titlenotice"><span class="comtitle">FORUM TITLE</span>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas efficitur nec justo non finibus. Vestibulum suscipit odio a nisl dignissim feugiat. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In hac habitasse platea dictumst. Pellentesque suscipit elit nec efficitur facilisis. Nulla ut purus non mauris dapibus convallis fermentum et dolor. Mauris mattis lectus eget ultricies elementum. Nunc suscipit sed libero eu ultrices. Phasellus sodales neque dolor, vel placerat leo malesuada a. Phasellus bibendum ex velit, nec eleifend massa pharetra aliquam. Cras sagittis, dolor sit amet pretium iaculis, nibh massa pharetra lectus, eu venenatis libero dolor eu odio. Quisque id placerat justo.</p>
<p class="titlenotice">Click <a class="wlcnoticelink" href="#">here</a> </p>

Here is the Notice CSS rules in Extra:


.titlenotice {
padding: 15px;
color: red !important;

.comtitle {
color: #01a05f;
font-weight: bold;
Please note that the second CSS rule .comtitle works but the first one doesn't


XenForo developer
Staff member
That would seem to imply that there's a mistake in the HTML or CSS. I don't actually see any notices so I can't double check the issue.