0
Answered

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

Kathy Kolb 7 years ago in BLOX CMS updated by Christine Masters 7 years 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 7 years 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.