godaddy-wordpress / godaddy-wordpress/coblocks

Responsive Post Carousel settings

Open
#2,403 0 comments 0 reactions 0 assignees View on GitHub
[Priority] Low [Type] Bug
Dominant language
JavaScript
Stars
794
Forks
142
PR merge metrics
No merged PRs in 30d

Description

I should be able to have the option to display 1 post carousel slide on mobile when the setting for desktop is > 1.

`src/blocks/post-carousel/index.php:136` seems to account for the responsive behaviour though `src/js/coblocks-post-carousel.js` doesn't initialise it.

### To reproduce:
Create a Post Carousel block with 3 columns and test on mobile.

### Expected behavior:
Number of columns on the post carousel reducing to 2 on tablet and 1 on mobile, configurable via the `coblocks_post_carousel_settings` filter.

### WordPress version:
6.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.