Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to 2,3,4 column to 1 Column in Mobile View, #7742

Closed
dhwalin opened this issue Jul 6, 2018 · 5 comments
Closed

Convert to 2,3,4 column to 1 Column in Mobile View, #7742

dhwalin opened this issue Jul 6, 2018 · 5 comments
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@dhwalin
Copy link

dhwalin commented Jul 6, 2018

How can I convert multiple column content to 1 column in Mobile view? It looks very weird when I add 4 columns in content & they show side by side even in mobile.

Please guide how can I change layout by desktop and mobile?

@ajitbohra ajitbohra added the [Type] Help Request Help with setup, implementation, or "How do I?" questions. label Jul 6, 2018
@buzucan
Copy link

buzucan commented Jul 7, 2018

it will be nice to have this option. i think that with a little bit CSS you can do that.

@ZebulanStanphill
Copy link
Member

Duplicate of #6048. See also: #7315.

@designsimply designsimply added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jul 9, 2018
@designsimply
Copy link
Member

Please keep in mind that the Columns Block is still in beta. 🙂 I tested the beta columns block and didn't find a way to set the numbers of columns, however, since this block is in beta and since there's already a discussion about making it responsive, I am closing this issue in favor of #6048 and I will make sure to note your question on that issue.

screen shot 2018-07-09 at mon jul 9 2 22 57 pm
Seen at http://alittletestblog.com/ running WordPress 4.9.7 and Gutenberg 3.2.0 using Chrome 67.0.3396.99 on macOS 10.13.5.

@chrisvanpatten
Copy link
Member

chrisvanpatten commented Jul 9, 2018

@designsimply you need to have the containing "Columns" block selected to change the number of columns. In your screenshot, you have a nested "Column" block selected, not its "Columns" parent. (It's a subtle but key change.)

@designsimply
Copy link
Member

@chrisvanpatten thanks! Found it! Screenshot for reference:

screen shot 2018-07-18 at wed jul 18 11 04 29 am
Seen at http://alittletestblog.com/wp-admin/post.php?post=13886&action=edit running WordPress 4.9.7 and Gutenberg 3.2.0 using Firefox 61.0.1 on macOS 10.13.6.

Also wanted to note that I was focusing on the UI before, but really the answer to this question is that a decision needs to be made about if/whether/how the columns block will behave on small screens (responsiveness), which is being discussed in #6048 so we're still good to go with closing this one as a duplicate. 👍

Current front-end view with the Atomic Blocks theme (to document the current state):

screen shot 2018-07-18 at wed jul 18 11 04 42 am
Seen at http://alittletestblog.com/2018/07/18/columns-block-beta-test/ running WordPress 4.9.7 and Gutenberg 3.2.0 using Firefox 61.0.1 on macOS 10.13.6.

screen shot 2018-07-18 at 11 05 13

Seen at http://alittletestblog.com/2018/07/18/columns-block-beta-test/ running WordPress 4.9.7 and Gutenberg 3.2.0 using Pixel, Android 8.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

6 participants