Kowal PageBuilder Slider Fix – a responsive slider without compromises
YOU CAN TRUST US
25 years of experience in e-commerce and Magento 2
Fast delivery
Efficient implementation process
Simple and transparent complaint process
Working with clients worldwide
Free module updates
Payment by bank transfer
Magento PageBuilder offers a native slider that, in principle, is a great solution:
does not require external libraries,
is fully integrated with the content editor,
supports separate images for desktop and mobile,
works correctly with cache, Varnish, and PageBuilder Preview.
And that is exactly why it is worth using.
Unfortunately, in practice many Magento stores encounter the same issues, especially with modern, responsive layouts.
Problems with the native PageBuilder slider
In the default PageBuilder configuration:
the slider height is rigidly enforced (
min-height),image proportions do not reflect the asset's real dimensions,
on mobile, empty margins appear above and below the slider,
the slider does not always respond correctly to breakpoint changes,
PageBuilder's CSS and JS enforce behaviors that are hard to override without touching the core.
The result?
The slider often looks good only on one screen size –
and on other resolutions it loses proportions or aesthetics.
What does our module do?
Kowal PageBuilder Slider Fix solves these problems without disabling PageBuilder and without modifying the Magento core.
The module:
removes PageBuilder's rigid height enforcement (
min-height),lets the slider dynamically adjust its height to the image,
preserves full width (
100% viewport width),correctly handles separate desktop and mobile images,
runs only where a slider actually exists.
How does it work technically?
uses
text/x-magento-init– Magento's native mechanism,does not load global JS on every page,
operates per slider, not globally,
integrates with PageBuilder's
data-background-imagesmechanism,is compatible with PageBuilder Preview and the CMS editor.
This means:
✔ no conflicts
✔ no cache issues
✔ no impact on store performance
Who is this module for?
This module is ideal if:
you use the PageBuilder Slider or Banner Slider,
you care about perfect responsiveness,
you want to keep Magento's native solutions,
you do not want to install heavy, third‑party sliders,
you care about mobile aesthetics (no empty margins).
Why not an external slider?
External sliders:
often load large JS libraries,
do not integrate perfectly with PageBuilder,
can be problematic with cache / Varnish,
make content editing harder for non‑technical users.
Our module fixes what needs fixing — and nothing more.
Summary
Kowal PageBuilder Slider Fix:
preserves the advantages of Magento's native slider,
eliminates its biggest drawbacks,
works reliably on desktop and mobile,
is lightweight, fast, and safe,
ready for use in production stores.
If you use PageBuilder, this module should be its natural companion.
Question:
Czy moduł zastępuje natywny slider PageBuildera?
Answer:
Nie. Moduł nie zastępuje slidera, a jedynie naprawia jego zachowanie. Nadal korzystasz w 100% z natywnego PageBuildera.
Question:
Czy moduł działa z osobnymi obrazami desktop i mobile?
Answer:
Tak. Moduł w pełni obsługuje mechanizm desktop_image / mobile_image PageBuildera i poprawnie przełącza obrazy na breakpointach.
Question:
Czy moduł wpływa na wydajność sklepu?
Answer:
Nie. Skrypt uruchamia się tylko tam, gdzie istnieje slider, bez globalnego JS i bez dodatkowych bibliotek.
Question:
Czy moduł jest bezpieczny przy aktualizacjach Magento?
Answer:
Tak. Moduł nie ingeruje w core, nie nadpisuje plików Magento i jest bezpieczny przy aktualizacjach.
Question:
Czy moduł działa z cache, Varnish i PageBuilder Preview?
Answer:
Tak. Rozwiązanie jest w pełni kompatybilne z cache Magento, Varnish oraz edytorem PageBuildera.
Projekt: toursport.pl
Technologia: Magento 2 + PageBuilder
Problem: Slider na stronie głównej tracił proporcje na mobile – pojawiały się puste marginesy nad i pod grafiką, a wysokość była sztucznie wymuszona niezależnie od rozmiaru ekranu.
Wyzwanie
Zespół Toursport korzystał z natywnego slidera PageBuildera ze względu na:
-
łatwą edycję treści,
-
możliwość ustawiania osobnych obrazów desktop / mobile,
-
dobrą integrację z cache i wydajnością.
Jednocześnie standardowe zachowanie PageBuildera powodowało:
-
nieestetyczny wygląd slidera na smartfonach,
-
brak zachowania proporcji obrazu,
-
problemy przy zmianach rozdzielczości.
Rozwiązanie
Zastosowano Kowal PageBuilder Slider Fix, który:
-
usunął sztywne
min-height, -
pozwolił sliderowi dopasować wysokość do realnych proporcji obrazu,
-
zachował pełną szerokość ekranu,
-
poprawnie obsłużył obrazy mobilne.
Efekt
-
✔ idealna responsywność na wszystkich urządzeniach,
-
✔ brak pustych marginesów na mobile,
-
✔ zachowany natywny PageBuilder bez dodatkowych sliderów,
-
✔ lepszy odbiór wizualny strony głównej.
Moduł został wdrożony bez wpływu na wydajność i bez konieczności modyfikacji treści w PageBuilderze.








