Thread Starter
halloy
(@halloy)
Hello, I see that your css is directly loaded in body, not in header. So it cannot be overrided by my own rules without adding !important.
I think it should be beter to load it in the header but i don’t know how to do …
Thanks
Plugin Author
jakeob
(@jakeob)
Hello Halloy,
the plugin loads css in the body because it applies some conditions to it.
As you stated you can use !important to override the styles.
However for more complex changes I have updated the plugin to allow you to completely overtake the css files the plugin loads.
To use your styles you need to create a folder called simple-ftp-directory-lister within your theme directory with a subfolder called css. From now on all the styles of the plugin will be loaded from this folder. Be aware that you should be using child theme in order to keep any theme changes after you update the theme.
There are 5 different css files that controls styles. You need to copy these files from the plugin folder to the css folder you just created.
Now change anything you want in these files, the plugin will be loading these and ignore its own css files.
Example where you need to create the folder: /wp-content/themes/themeyouareusing/simple-ftp-directory-lister/css/
Thread Starter
halloy
(@halloy)
Thanks a lot for your reply and sorry for my delay to reply. Your plugin is very great ! thanks for your work !!