Yesterday I released an update to the JB Type plugin.
The new version is essentially a bug fix but I added some new styles to the plugin that I had scheduled for the next major update that I felt just couldn't wait.
Adding grid layouts to your content ...
As you may have seen we use a percentage based responsive grid in our Joomla templates which is also available to users to implement within their content. You can see these grids in action in the Lifestyle template as an example.
However the latest release of JB Type now provides the ability for users of the Zen Grid Framework to use the simplified JB Type syntax to render the very same grids.
As an example users can now specify a grid such as:
Here be monsters
Any content that has the grid tags applied to it will then be automatically rendered in a div tag that has the grid_four class applied to it. Within a Zen Grid Framework template this will be output as a block of text which floats to the left, has a margin of 3.4% and spans 30.75% of the available are within the content item.
If you wanted to apply the zenlast class and float the block to the right and remove the margin then yopu would use the following syntax:
You can see an example of how this renders in the upcoming Corporate Joomla tempolate below.




