By Gareth Maclean on Sunday, 23 April 2017
Posted in Groups
Likes 0
Views 719
Votes 0
Hi Team,

The default view of Groups is one per line which takes up a lot of room with no real information. Could you please help me change the view so that I have 3 groups in a line?

The idea is to have the frontpage showing a module with 12 of the most popular groups (4 rows of 3).

Thanks,
Gareth
You could try adding the block of css codes below:

[gist]
body div#es .mod-card {
width: 33%;
display: inline-block;
}
[/gist]
·
Sunday, 23 April 2017 15:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the very fast response, where exactly do I have to add the CSS code?

I added it to the custom CSS file under the ES component -> Templates -> Elegant and nothing changed so I then added it to the Joomla Elegant Template custom CSS file and still nothing changed. It's probably very basic just beyond my knowledge boundaries.

Thanks,
Gareth
·
Sunday, 23 April 2017 17:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gareth,

I tried checking the page at http://nitcit.com/ and it is already in 3 columns, http://take.ms/2NtjJ . Perhaps your browser was caching the css and it was probably why you don't see those changes that you have added?
·
Sunday, 23 April 2017 17:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Yes adding the CSS above to the custom.css in the Joomla template worked.

Thank you very much one again,
Gareth
·
Sunday, 23 April 2017 19:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating me on this Gareth, glad that your issues are resolved now
·
Sunday, 23 April 2017 19:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post