Skip to content

Conversation

@CySSoO
Copy link
Contributor

@CySSoO CySSoO commented Jan 16, 2026

Motivation

  • Allow editors to set a background image for each Tab state so tabs can have independent visual backgrounds and better design control.

Description

  • Added a background_image repeater field of type fileupload to the Tabs block configuration in src/Service/EverblockPrettyBlocks.php.
  • Updated the Tabs template views/templates/hook/prettyblocks/prettyblock_tab.tpl to render per-tab background images via an inline background-image style with background-size:cover, background-position:center, and background-repeat:no-repeat when present.
  • Applied any per-tab css_class into the tab pane element so custom styling can target individual tabs.

Testing

  • No automated tests were run for this change.

Codex Task

@CySSoO CySSoO merged commit 2b09c68 into master Jan 16, 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