この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Hi Community.
Is it possible to configure Responsive grid (wcm/foundation/components/responsivegrid) component to have different columns number in different beakpoints?. E.g. I'd liked to have 12 columns in desktop, 6 for tablet and 4 for mobile. As I see back-end and front-end code is ready for that, but I didn't found how to configure it.
Thanks in advance.
BR, Ivan
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hi,
I am not sure if this is possible, you can set the width though, why don't you divide 12 grid into equal parts and setup width for mobile and tablet.
表示
返信
いいね!の合計
Hi,
Could you please check Configuring Layout Container and Layout Mode if helps?
Breakpoints are located inside the <jcr:content> section of the .context.html under the appropriate template (or content) folder.
An example definition:
1 2 3 4 5 6 | < cq:responsive jcr:primaryType = "nt:unstructured" >
|
You can configure the number of columns available for each specific instance of layout container:
Definitions for the responsive grid are specified in:etc/design/<your-project-name>/.content.xml
The following parameters can be defined:表示
返信
いいね!の合計
Thank you for your response. Actually, I need to define different columns for mobile (4) and tablet (12) breakpoints for the same responsive grid component.
表示
返信
いいね!の合計
I'd liked to forbid authors to break up the design. Anyway, thank you for your reply.
表示
返信
いいね!の合計
表示
返信
いいね!の合計