Skip to content

Conversation

@CySSoO
Copy link
Contributor

@CySSoO CySSoO commented Jan 22, 2026

Motivation

  • The front render used Bootstrap .row/.col-* wrappers even when display_mode == "slider", preventing a proper horizontal slider; the change aims to provide a native slider structure while preserving existing grid/columns behavior.

Description

  • Updated the prettyblock_img.tpl slider branch to use a horizontal slider structure by removing the outer .row/.col-* wrappers in slider mode and keeping them for non-slider layout.
  • Added a transition class to the .ever-slider-track element and kept existing item HTML (picture/img/link/lazyload) untouched.
  • Ensured navigation buttons (.ever-slider-prev, .ever-slider-next) and pagination container (.ever-slider-dots) remain present inside the slider markup.
  • Restored the original Bootstrap row wrappers only in the non-slider branch and fixed the opening/closing wrapper placement to avoid broken DOM nesting.

Testing

  • No automated tests were executed for this change in this environment.
  • The change was limited to the TPL markup (views/templates/hook/prettyblocks/prettyblock_img.tpl) and does not modify PHP configuration or external JS/CSS files.

Codex Task

@CySSoO CySSoO merged commit 1e8ce59 into master Jan 22, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants