Support » Plugin: Block Gallery - Photo Gallery Gutenberg Blocks » Invalid markup: div instead of UL

  • Resolved Morgan Estes


    When creating a slider gallery, the markup generated wraps li.blockgallery--item inside div.flickity-slider instead of ul. This is breaking some of the styles that look for .wp-block-blockgallery-carousel ul.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rich Tabor


    Hey Morgan,

    Flickity adds a couple divs within the wrapper element, so I may actually change the li.blockgallery–item to be a div instead. The styles targeting the .wp-block-blockgallery-carousel ul are actually not needed. 👍

    Sound good?

    Plugin Author Rich Tabor


    I’ve baked this in for the next update slated to go out this afternoon (v1.1.4).

    Thanks for helping to make Block Gallery that much better!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Invalid markup: div instead of UL’ is closed to new replies.