Skip to content

Conversation

@GeoffDusome
Copy link
Contributor

What does this do/fix?

This pull request updates the Logo Marquee block to improve its customization and appearance. The main changes introduce a user-adjustable marquee speed via a range control in the block settings, update the spacing between logos, and ensure the selected speed is properly passed through the block's data and animation logic.

Logo Marquee Block Enhancements:

  • Added a marqueeSpeed attribute to block.json to allow storing the speed setting and passing it to the rendered markup.
  • Added a range selector in the block's Inspector Controls (edit.js) so users can adjust the marquee speed from 50 to 1000, in increments of 50. The selected value updates the block attribute. [1] [2]
  • Updated the block's save function to output the data-marquee-speed attribute on the .logo-list element, ensuring the speed setting is available on the frontend.
  • Modified the animation logic in view.js to read the data-marquee-speed attribute and adjust the animation duration accordingly, making the speed control functional.
  • Increased the horizontal padding between logos in the marquee for improved visual spacing by updating the margin in the block's styles.

Documentation:

  • Updated the CHANGELOG.md to document the new marquee speed control and spacing update for the Logo Marquee block.

QA

Links to relevant issues

Copy link
Collaborator

@dpellenwood dpellenwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥗

@GeoffDusome GeoffDusome added In QA Waiting on QA and removed Needs FE Review labels Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In QA Waiting on QA Launch Environment Deploys to dokku

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants