Hiding attachments in Guide
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.
-
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
-
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? -
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.
댓글을 남기려면 로그인하세요.
3 댓글