FEATURE Updating the behaviour with the new and more specific ramed-rotated variation

This commit is contained in:
Antoine M 2026-02-24 15:05:18 +01:00
parent 52f988c72d
commit 6ec182d740

View File

@ -1,5 +1,5 @@
export default function alternatePictures() { export default function alternatePictures() {
const images = document.querySelectorAll('.wp-block-image.is-style-framed'); const images = document.querySelectorAll('.wp-block-image.is-style-framed-rotated');
images.forEach((img, index) => { images.forEach((img, index) => {
if (index % 2 === 0) { if (index % 2 === 0) {