- Issue created by @hongpong
- Status changed to Fixed
over 1 year ago 8:47pm 20 April 2023 - 🇮🇩Indonesia gausarts
Regular CSS files can be overriden by adding more specificity, or order your CSS to bottom as normally done by defaults via Drupal theme system.
Inline styles, normally dynamic ones, JS or PHP, must be overriden with
!important
declaration, e.g.:
padding-bottom: 0 !important;
Just be sure you put the right selector to override as seen in your screenshot.
Hope that helps.
- 🇺🇸United States hongpong Philadelphia
Thank you gausarts for the prompt response. I also tried using jQuery to remove the padding-bottom from the element's properties in a custom JS file. However I am not sure how to listen for the ready event of the slider's initialization, so the jQuery runs too early. I see there is a window.Splide javascript object, however I could not determine how to listen for the ready state in an outside script. ( I would rather not simply add a timer to 'wait' for it) . Best regards.
Automatically closed - issue fixed for 2 weeks with no activity.