• Resolved realhalifax

    (@realhalifax)


    When using the the Jetpack Gallery in a page, each div is equipped with “data-carousel-extra” attribute. Is it a feature or a bug? For me its a bit annoying because it makes the html code much bigger and unexpected css from jetpack.css is loaded to normal divs, like “cursor:pointer”. If I deactivate “Display images in a full-screen carousel gallery”-option, everything is fine.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support fresatomica

    (@fresatomica)

    Hi there!

    Could you please let us know the URL of your site so we can have a look?
    Thanks!

    Thread Starter realhalifax

    (@realhalifax)

    Hello,

    here is the link to the page where I used the Jetpack Gallery:
    https://baidaolu.de/baidaolu-100-wege-zu-reisen/russland/kalmukien/6/

    Meanwhile I fixed teh mouse pointer with CSS, but the origin problem is still there.

    Kay

    Plugin Support fresatomica

    (@fresatomica)

    Thanks for that. I do not see any errors on your site and the attributes you mentioned are expected. The Carousel adds those attributes to the image tags so it can use them to create the Carousel overlay.

    Thread Starter realhalifax

    (@realhalifax)

    Thats clear, BUT the attributes are added to almost all <div> elements.

    Just check line 313 of the source of that link I shared. There you will find this attribute on a <div> which has nothing to wo with the image carousel.

    Or Line 279 there is even an empty <div> with that attributes:

    <div data-carousel-extra='{“blog_id”:1,”permalink”:”https:\/\/baidaolu.de\/baidaolu-100-wege-zu-reisen\/russland\/kalmukien\/”}’ class=”wp-block-column”></div>

    • This reply was modified 6 years, 2 months ago by realhalifax.
    Plugin Contributor James Huff

    (@macmanx)

    Please contact us via https://jetpack.com/contact-support/?rel=support so we can take a closer look.

    Thread Starter realhalifax

    (@realhalifax)

    I did. Looking forward to your answer.

    Thread Starter realhalifax

    (@realhalifax)

    Why my post is closed? Its not resolved until now and I didnt get an answer on my mail 🙁

    Plugin Contributor James Huff

    (@macmanx)

    It’s not closed on this end, but marked Resolved here as we cannot continue with this here.

    We’ll reply to your email as soon as we can.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘“data-carousel-extra” added to each div’ is closed to new replies.