Swiper styles not loaded starting with elementor 3.26.0
To quote the update notes directly:
Previously, swiper styles were loaded everywhere to make them available for different carousel widgets. As of 3.24, widgets need to declare which styles they are using, with the
get_style_depends()
method. Therefore, Elementor no longer needs to load swiper styles on all the pages, these styles are loaded conditionally only if one of the widgets is using swiper.
So if you are making use of Elementors Swiper API make sure you add
public function get_style_depends() {
return ['swiper'];
}
Sources and more info:
https://developers.elementor.com/elementor-3-26-developers-update/
https://developers.elementor.com/elementor-3-26-beta/
https://github.com/elementor/elementor/issues/29436