I´ve already found this answer (Can the Wicket modal window be customized?) but it´s not suitable for Wicket 1.5. Can anyone please tell me how can I apply my own styles to a Wicket Modal?
Create you own stylesheet and use set setCssClassName()
?
If you want to fully override all of the modal window css override the newCssResource()
to return your own css resource. All its resources are in /wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/
including its stylesheet modal.css
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With