R Robert9 Well-known member Mar 14, 2021 #1 May someone has an idea how to show a notice everywhere, but not on forum_list? I guess we miss a way to say: show it everywhere, but not on x. Is there something like this?
May someone has an idea how to show a notice everywhere, but not on forum_list? I guess we miss a way to say: show it everywhere, but not on x. Is there something like this?
P Paul B XenForo moderator Staff member Mar 14, 2021 #2 That's not an available criterion. Upvote 0 Downvote
R Robert9 Well-known member Mar 14, 2021 #3 Yes, and so i have the question: How can i show one notice on all pages, but not on forum_list? With a display:none for example. But why there is no other option for something like that? Upvote 0 Downvote
Yes, and so i have the question: How can i show one notice on all pages, but not on forum_list? With a display:none for example. But why there is no other option for something like that?
RobinHood Well-known member Mar 15, 2021 #4 Have it apply everywhere, then add css to hide it on the forum list CSS: [data-template="forum_list"] .extra-class-for-notice { display: none; } Upvote 0 Downvote
Have it apply everywhere, then add css to hide it on the forum list CSS: [data-template="forum_list"] .extra-class-for-notice { display: none; }
P Paul B XenForo moderator Staff member Mar 15, 2021 #5 RobinHood said: Have it apply everywhere, then add css to hide it on the forum list CSS: [data-template="forum_list"] .extra-class-for-notice { display: none; } Click to expand... Using the notice data ID would work: Less: [data-template="forum_list"] [data-notice-id="1"] { display: none; } Upvote 0 Downvote
RobinHood said: Have it apply everywhere, then add css to hide it on the forum list CSS: [data-template="forum_list"] .extra-class-for-notice { display: none; } Click to expand... Using the notice data ID would work: Less: [data-template="forum_list"] [data-notice-id="1"] { display: none; }