Jump to content

Downloads - change default screenshot - icon


Janyour

Recommended Posts

Posted

Hello, we use our downloads section to share simple pdf and we are looking to put a default screenshot or icon for the elemnts, is there any way to do it ?

ddl.jpg.1d9ac1491db4f21dd9b30e01358df241

  • 6 months later...
  • 3 months later...
  • 8 months later...
Posted

However, this could work for you.

Add this to custom.css

body[data-pagemodule="downloads"] .ipsNoThumb {
	background-image: url('replace_with_your_image_url');
  	background-size: cover;
}

This will add an image to the box of the files without screenshots.

 

Or to simply change the default icon...

body[data-pagemodule="downloads"] .ipsNoThumb:after {
	content: '\CODE';
}

Replace CODE with the unicode code for the icon: http://fontawesome.io/icons/

nNf2Y0p.png

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...