Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pexle Chris

    (@pexlechris)

    First of all, this screenshot is from cPanel…

    As you can see in the demo, in the insepctor there are a span element in front of the files… A span element with class=”library-viewer–file__icon library-viewer–png__icon”

    You can use the selector
    .library-viewer–png__icon for png files
    .library-viewer–pdf__icon for pdf files and so on.

    Just give width, height and a background image in this element.

    In the 2.0.0 you will be able to change it also with a php hook!

    Have a nice day

    Plugin Author Pexle Chris

    (@pexlechris)

    Library Viewer 2.0.0 is live! You can use also the hook lv_file_icon_html in order to change the icons with yours. More Documentation here https://www.pexlechris.dev/library-viewer/pro/docs/hooks/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘See icon in the list’ is closed to new replies.