Recent searches


No recent searches

Hiding attachments in Guide



Posted Jan 04, 2023

Because I use attachmenthyperlinks inline in my article, I want to hide the display of attachments under a guide-article for our customer.

In the example provided below you see two attachments and I don't want to show these at the bottom of my article. In my article they are already downloadable by clicking on the hyperlinks. 

Please don't mind the arrow referring a Docx-file to a pdf-link. It's just an example ;)

If somebody knows the code and location to hide the url's at the bottom of the page, I would like to hear that.

Summarized: 
I already add files and link them in my articles and I don't want them under my article as well.
 



1

6

6 comments

image avatar

Pulkit Pandey

Zendesk LuminaryCommunity Moderator

Hi Wilco van Doorn

Please add the below CSS code at the bottom of your style.css file 

.article-attachments {
  display: none;
}

Let me know if it solves your issue

 

Thanks 

Pulkit 

Team Diziana

1


Thank you!

And to add a question on top of that:

is it possible to do this only for specific articles providing the article-numbers? If it is, how does that translate to code?

2


I wish I'd known this a few years ago. I dumped all our file attachments in a separate article (repository for downloads) as a workaround for this request. 

0


“is it possible to do this only for specific articles providing the article-numbers? If it is, how does that translate to code?”

Just checking if this is possible?

0


I tried it and it does not work. Is it at the wrong place?

0


To add onto this, being able to have different attachments per language would be helpful. 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post