Customize alternative layout for the K2 Content module in Joomla

by Joe   Last Updated August 02, 2019 12:10 PM - source

I already established an alternative layout php file and it's recognized by the Joomla administrator for the K2 - content modules. What I need to do now is code the layout I want in php, but the problem is I don't know how to do that.

What I want : Display three articles per row in the K2 - content module, with its image / introductory text centered, as well as its title. At the moment, one article is displayed per row, with its image / introductory text centered, but its title left-aligned. Anybody could help me with the missing code to reach what I want ?

Or is it maybe easier to do what I want in css, or in whatever other way?

Tags : joomla-3.x php css k2

Related Questions