How to hide attachment paperclip icon on Confluence pages?

is there a way to hide the paperclip icon and attachment count from displaying on pages so the user doesn't have access to the attachments on that page?

2 answers

There's no easy way to do this via the UI. Even though it can be hidden however user can still check this from Tools > Attachments.

How about considering disabling attachment download instead?

I was able to do this with some css, added to master.css:


#content-metadata-attachments {
display: none;
}

Hey,

Thanks for your help. I tried this but couldn't get it to work.

I tried adding it to the Global stylesheet and the Custom HTML sections of the admin console but no luck.

Any hints?

Thanks,

Alicia

Try this instead: #system-content-items, #content-metadata-attachments { display: none; } If you want to limit the restriction to a specific space, add the CSS style to Space Tools -> Look and Feel -> Stylesheet.

This worked! Thank you Dolly! smile

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

103 views 3 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you