Sport Ngin User Group Forum
SportsEngine Community Forum
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
jmarcus

Junior Member
Registered:
Posts: 14
 #1 
Is there a code to remove the pdf or word doc icon from the document element. 

2019-08-29_1434.png 

0
docnzok

Member
Registered:
Posts: 61
 #2 
Good Morning

This is a tricky one because SE creates a separate class in CSS for each type of document that is posted.

They do this so that each one can have its own icon that appears.

So I have compiled a short list of different document types (the most common ones, I think)

To turn off the icon, add the following to the Cascading Head Code section under page options.

This CSS will remove the icons for pdf, word, excel, jpg and mov video files.

<style>
.pdf, .word, .videoMov, .excel, .imageJpg
{
background-image: none !important;
}</style>

Remember that if you put the code in the single page head code, it will only apply to the page that you add the CSS style code to.  If you put it in the Cascading Head Code, it will be applied to that page and all the pages underneath it.

0
jmarcus

Junior Member
Registered:
Posts: 14
 #3 
Thank you, worked great. 
0
docnzok

Member
Registered:
Posts: 61
 #4 
No problem.

As a perfectionist, I would also add some css to move the text over to the left so it doesnt look like there is something missing there, Ill work on that and get back to you. Should just be a margin thing.

Mark
Chicago
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.

Powered by Website Toolbox - Create a Website Forum Hosting, Guestbook Hosting, or Website Chat Room for your website.