Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
Module link added, Sentence construction, block style formatting
Source Link

How to create a responsive views block in bootstrap?

I created a content type with one field collection field using Field collection module which accepts up to 4 values. Field collection field has 3 fields (text1(40 char), text2(255 char), link) I added one content. Now I have one content with 3 field collection items.

I created a views grid block. Grid settings > number of columns = 1. I selected the above field collection item as field. On the block configuration page, I gave class col-xs-12.

  • Field Collection: Field collection field has 3 fields (text1(40 char), text2(255 char), link). I added one content. Now I have one content with 3 field collection items.

  • View: I created a views grid block. Grid settings > number of columns = 1. I selected the above field collection item as field. On the block configuration page, I gave class col-xs-12.

When I visit the page in mobile, I have to scroll to right to see the full content. I gave bootstrap class col-xs-12, why does it not fit into into mobile screen. Can you please help? enter image description here enter image description here

Image-1

enter image description here

Image-2

enter image description here

How to create a responsive views block in bootstrap

I created a content type with one field collection field which accepts up to 4 values. Field collection field has 3 fields (text1(40 char), text2(255 char), link) I added one content. Now I have one content with 3 field collection items.

I created a views grid block. Grid settings > number of columns = 1. I selected the above field collection item as field. On the block configuration page, I gave class col-xs-12.

When I visit the page in mobile, I have to scroll to right to see the full content. I gave bootstrap class col-xs-12, why does it not fit into into mobile screen. Can you please help? enter image description here enter image description here

How to create a responsive views block in bootstrap?

I created a content type with one field collection field using Field collection module which accepts up to 4 values.

  • Field Collection: Field collection field has 3 fields (text1(40 char), text2(255 char), link). I added one content. Now I have one content with 3 field collection items.

  • View: I created a views grid block. Grid settings > number of columns = 1. I selected the above field collection item as field. On the block configuration page, I gave class col-xs-12.

When I visit the page in mobile, I have to scroll to right to see the full content. I gave bootstrap class col-xs-12, why does it not fit into into mobile screen. Can you please help?

Image-1

enter image description here

Image-2

enter image description here

Source Link
autop
  • 575
  • 1
  • 10
  • 28

How to create a responsive views block in bootstrap

I created a content type with one field collection field which accepts up to 4 values. Field collection field has 3 fields (text1(40 char), text2(255 char), link) I added one content. Now I have one content with 3 field collection items.

I created a views grid block. Grid settings > number of columns = 1. I selected the above field collection item as field. On the block configuration page, I gave class col-xs-12.

When I visit the page in mobile, I have to scroll to right to see the full content. I gave bootstrap class col-xs-12, why does it not fit into into mobile screen. Can you please help? enter image description here enter image description here