• Resolved joch

    (@joch)


    Hello and thanks for having Carousel in Jetpack!

    I would like to create a more immersive experience where images are viewed as large as possible. That means removing as much of the black frame around the image as possible, and push down the comment box below the fold/scroll.

    Is this doable in some way?

    https://www.ads-software.com/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor csonnek

    (@csonnek)

    Happiness Rocketeer ??

    Howdy,

    There may be a way to target the .jp-carousel-slide divs using jQuery to adjust their size, but that’s outside the scope I’m able to help with. The image size is being set via jetpack-carousel.js based on:

    width: $(window).width() - (screenPadding * 2),
    height: Math.floor( $(window).height() / 100 * proportion - 60 )

    .//with proportion being 85.

    Targeting to adjust that may be the route to go, but we haven’t tested whether or not it will work.

    I hope that clarifies things.

    Thread Starter joch

    (@joch)

    Thanks a lot! Now I have a good starting point to sorting it out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Carousel: Remove black borders around photos’ is closed to new replies.