CSS classes: Document link widget

Following is the list of CSS classes applied to Document link widget:

CSS class name
Class set to
Default HTML tag
sfdownloadFileWrp File wrapper. <div>
sfpdf

Download link when the file’s extension is .pdf.
(18x20)

<a>
sfdoc Download link when the file’s extension is .doc.
(18x20)
<a>
sfdocx Download link when the file’s extension is .docx.
(18x20)
<a>
sfrtf Download link when the file’s extension is .rtf.
(18x20)
<a>
sftxt Download link when the file’s extension is .txt.
(18x20)
<a>
sfxls Download link when the file’s extension is .xls.
(18x20)
<a>
sfxlsx Download link when the file’s extension is .xlsx.
(18x20)
<a>
sfzip Download link when the file’s extension is .zip.
(18x20)
<a>
sfjpg Download link when the file’s extension is .jpg.
(18x20)
<a>
sfjpeg Download link when the file’s extension is .jpeg.
(18x20)
<a>
sfgif Download link when the file’s extension is .gif.
(18x20)
<a>
sfpng Download link when the file’s extension is .png.
(18x20)
<a>
sfppt Download link when the file’s extension is .ppt.
(18x20)
<a>
sfpps Download link when the file’s extension is .pps.
(18x20)
<a>
sfpptx Download link when the file’s extension is .pptx.
(18x20)
<a>
sfhtml Download link when the file’s extension is .html.
(18x20)
<a>
sfhtm Download link when the file’s extension is .htm.
(18x20)
<a>

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?