Change the location of icon files

Change the location of icon files

benedictbenedict Posts: 1Questions: 1Answers: 0

I am new to datatables and have a question relating to the file location of icons. I tried to use the sort function but the arrow icons were missing. From some discussion, I realised that I did not put the icons to my website. Where shall I put my icon files? If I put in the image file, the location is /root/website/images/, how can I change the location when I initialise the DataTables? Thank you.

Answers

  • allanallan Posts: 61,840Questions: 1Answers: 10,134 Site admin

    The icons are referenced in the CSS, so you would need to change their locations there. If you open the CSS file in your text editor and search for .png you'll find where the paths are defined.

    Allan

This discussion has been closed.