Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Suppress the box and / or graphic when no content matches?

Clinton Bradley January 4, 2016

This question is in reference to Atlassian Documentation: Content by Label Macro

When there is no content matching the specified labels the macro displays a label icon and "There is no content with the specified labels" in a box. Is there a way to suppress this?

1 answer

1 accepted

6 votes
Answer accepted
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2016

You could add the following line to your custom CSS:

.content-by-label.macro-blank-experience { display:none; }
Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2016

F-ing brilliant!

Clinton Bradley January 5, 2016

Ah great - that’s just what I was looking for. Would be cool to have the option directly in the macro. Thanks!

Like Amelie Ambos likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events