0
Answered

How does one configure a block to display on mobile only?

Kathy Kolb 10 months ago in BLOX CMS • updated by Christine Masters (Director of Product Management) 10 months ago 1

How does one configure a block to display on mobile only? I want to add a block that will only show on a mobile device. 

Answer

Answer
Answered

Hi Kathy! It is easy! We use Bootstrap visibility classes. Check out this doc:


https://help.bloxcms.com/knowledge-base/applications/design/blocks/block-library/flex/article_2f9477c8-1456-11e5-a457-2bb4bc70118d.html


So in this case, you would add visible-xs (for just smartphones, mostly) to the "CSS class" area of the block.

GOOD, I'M SATISFIED

Thanks!

Satisfaction mark by Kathy Kolb 10 months ago
Answer
Answered

Hi Kathy! It is easy! We use Bootstrap visibility classes. Check out this doc:


https://help.bloxcms.com/knowledge-base/applications/design/blocks/block-library/flex/article_2f9477c8-1456-11e5-a457-2bb4bc70118d.html


So in this case, you would add visible-xs (for just smartphones, mostly) to the "CSS class" area of the block.