• Hi,

    First I want to thank the dev of this plugin which is simple and efficient. It is close to have its place into WP core IMHO.

    However, I have found a slight limitation: the carousel comes with a default padding on left and right, which doesn’t look very good for full width banners as a slider.

    Related CSS:

    .wp-block-cb-carousel .slick-slide {
      padding-left: 7.5px;
      padding-right: 7.5px;

    I couldn’t find any option to change this default padding. Also it is weird to have half pixels: to my knowledge there is no such thing and I’m not even sure how this will be handled by browsers (my guess is it’s poorly handled and that would explain why I see around two pixels difference between the left and right white spaces on each side of the banner depending on the window size).

    Though this can be easily overridden with custom CSS, I would suggest either:

    • Removing this default padding so that users can put this block inside a group and manage padding here. That is the most simple fix.
    • Adding a setting within the block editor to let users chose the padding directly. That is more complex but would get closer to native integration.

    Either of these solutions would be a great improvement.

    Thank you and all the best!

  • The topic ‘Request option to remove left/right padding’ is closed to new replies.