Jump to content

custom CCS


This topic is 5631 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Well if they use 2 different styles 1 for list and 1 for table - find the other one (just continue with the pdf.gif search - you should be able to deterimine which class applies to which view).

From there, just modify the file path to pdf2.gif or something and add the appropriate image to the same directory.

Link to comment
Share on other sites

Whatever you specify as the "style" attribute in the URL becomes the css class of the

tag (replacing + signs with spaces). So if you are using a style of listview, the body css class contains "listview", and you can use something like the following rule in your custom.css file:

body.listview span.file_pdf {

                background-image: url('http://www.adobe.com/devnet/images/58x43/reader_icon.gif');

}

This uses a custom icon for PDF filetypes, only when the listview style is used. You can also create your own arbitrary styles, and write rules for additional file types. The span.file_pdf is auto-generated based on the extension of the file stored in SuperContainer, so if you want a custom icon for, say, .fp5 files, just write a rule for span.file_fp5.

Link to comment
Share on other sites

This topic is 5631 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.