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>

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?