CarpCharacin
Well-known member
Is there some CSS which will allow for a specific notice to be hidden on a specific page without hiding the other notices?
I am aware, but I'd like to hide it entirely on a specific page.You can make it dismissible and the others not.
Yeah.So remove it?
Have you seen the notice criteria? It's not that simple. I'd like to hide it from a specific page, while displaying it on all others.Go to the notice and remove it from that area.
Is that option added by an add-on? I don't see it in the notice criteria.View attachment 228829 won't this do it?
Hm.. It's in my Page Criteria tab. I don't remeber it as an add on, but it's possibleIs that option added by an add-on? I don't see it in the notice criteria.
I just googled the criteria, and it looks like it may be part of an ads manager add-on, which I don't have installed.Hm.. It's in my Page Criteria tab. I don't remeber it as an add on, but it's possible
[data-container-key="node-X"] [data-notice-id="X"] {
display:none;
}
This is how I hide a specific notice on specific page. I hide notice only for thread_view page. In css the notice id is "1".
CSS:[data-template="thread_view"] .notice.js-notice.notice--primary[data-notice-id="1"] { display: none; }
We use essential cookies to make this site work, and optional cookies to enhance your experience.