Styles and columns
Pick a style
Under Select Style at the top of the Module tab, click one of the five pictures. The chosen picture gets a frame.
A new module has no style selected. Always click a picture before you save. A module saved without a style shows an error on the site.
| Style | Look |
|---|---|
| Style 1 | Full-width image. On hover, a light overlay with a Preview and a More Details button. Title and intro text under the image, or inside the overlay. |
| Style 2 | Full-width image. On hover, a dark overlay with the category name, a plus icon (preview) and a link icon. Title, Link A and intro text under the image, with a line under each item. |
| Style 3 | Image and text side by side, half and half. On hover, the overlay with the plus and link icons. A MORE button under the text. |
| Style 4 | Full-width image with the plus and link icons on hover, text under the image. |
| Style 5 | A small image (about a third of the width) next to the text, with a light frame on hover. A MORE button under the text. |
Load More only works in styles 1 and 2 in 6.0.1. See Load More.
Columns
Columns is the number of items per row, from 1 to 10. The default is 3.
On smaller screens the module uses fewer columns:
| Columns set | Up to 979 px wide | Up to 480 px wide |
|---|---|---|
| 1 or 2 | as set | 1 |
| 3 to 10 | 2 | 1 |
The row is as wide as the module position. In a narrow position, use fewer columns.
Colour and alignment
- Items Color is the background colour of each item. Leave it empty for no background.
- Text align (orientation) sets the text under the images to Left, Center (the default) or Right.
Your own HTML
To change the HTML of a style, copy modules/mod_easy_articles_portfolio/tmpl/style1/style1.php (or another style) to templates/<your template>/html/mod_easy_articles_portfolio/style1/style1.php and edit the copy. Keep the item markup of the AJAX part at the top of the file in line with the rest, because Load More uses it.