Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Bootstrap offset classes in New Lifestyle

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi,

I cant get the following Bootstrap classes to work in New Lifestyle

<div class="container">
<div class="col-md-5 col-md-offset-4">
..............table goes here 5 columns wide....

</div><!---end column offset --->
</div><!--- end container--->

I want to centre a table in the main content.

It works fine in a simple Bootstrap site but not here, where the table is full page width.

Any thoughts or suggestions for another way to do this, or have I missed something obvious?

Many thanks


Richard
  • richarddhill's Avatar
  • richarddhill
  • 6 Month Developer
  • 193 posts
  • 3 Thanks
  • Karma: 5
The administrator has disabled public write access.
Have a link for the site and page in question?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paulus,

Link is here... excuse the mess, still early days on the site

www.i-labeling.com/caravancamping/index.php?option=com_k2&view=item&id=2:delivery

Best

Richard
  • richarddhill's Avatar
  • richarddhill
  • 6 Month Developer
  • 193 posts
  • 3 Thanks
  • Karma: 5
The administrator has disabled public write access.
Try working with these type values

col-md-5 offset4

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks, Paul

The first part works - I now get an offset, but the second doesn't. The col-md-5 class is still not containing the table correctly.

So frustrating.

Any more thoughts?

Best wishes


Richard
  • richarddhill's Avatar
  • richarddhill
  • 6 Month Developer
  • 193 posts
  • 3 Thanks
  • Karma: 5
The administrator has disabled public write access.
span4 offset3

Does that work for you?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes.... Thanks a lot, Paul.

Best wishes

Richard
  • richarddhill's Avatar
  • richarddhill
  • 6 Month Developer
  • 193 posts
  • 3 Thanks
  • Karma: 5
The administrator has disabled public write access.
No problem

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers