Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Janyour Posted January 28, 2016 Posted January 28, 2016 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 ?
-FP Posted August 19, 2017 Posted August 19, 2017 You can't because that's a font awesome icon over a grey background
-FP Posted August 19, 2017 Posted August 19, 2017 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/
optrexnz Posted August 19, 2017 Posted August 19, 2017 awesome, thank you. I changed it to body[data-pagemodule="downloads"] .ipsNoThumb:after { font-size: 8em; content: '\f0f6'; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.