Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
710 views
in Technique[技术] by (71.8m points)

module - How to edit CSS of "fine uploader" widget in Contao CMS?

I have spent many hours to search of how can I modify the fineUploader package from here https://packagist.org/packages/terminal42/contao-fineuploader . Is there any way of how can I modify the CSS of that package? I want to match it with the rest of the contact form.

Also the support and the forums are all in German language and they say nothing about the customisation of that package.

question from:https://stackoverflow.com/questions/65917146/how-to-edit-css-of-fine-uploader-widget-in-contao-cms

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can find the stylesheet here. And in your contao installation you can find it in the vendor folder

/root/vendor/terminal42/contao-fineuploader/src/Resources/public/frontend

You could look up all the selectors there but if you overwrite them there, all your changes will be gone after an update. So usualy you just overwrite them in a new e.g. 'my_styles.css' which you include directly in your fe_page.html5 or in your Layout.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...