Advertisement

Related articles Topic is solved

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
karlhelge
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Wed Apr 24, 2013 9:03 pm

Related articles

Post by karlhelge » Fri Jun 28, 2024 11:58 am

Is it possible to display joomla default related articles in 3 columns? This is because I have many related articles and when they come one after the other the list becomes long.

Advertisement
Mr. Wimpy
Joomla! Guru
Joomla! Guru
Posts: 532
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: Related articles

Post by Mr. Wimpy » Fri Jun 28, 2024 4:16 pm

Add the following to your css*:

Code: Select all

.mod-articleslatest {
  columns: 3;
  column-gap: 1em;
}
* If you are using Cassiopeia use user.css, a 3rd party template may use a different file.

Some more light reading on columns:
https://www.w3schools.com/Css/css3_multiple_columns.asp

karlhelge
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Wed Apr 24, 2013 9:03 pm

Re: Related articles

Post by karlhelge » Tue Jul 16, 2024 6:06 am

Thanks a lot for the answer.
I put this into the user.css, but it still show only one column.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31230
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Related articles

Post by Per Yngve Berg » Tue Jul 16, 2024 7:24 am

Do you use Meta Keywords or Tags?

karlhelge
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Wed Apr 24, 2013 9:03 pm

Re: Related articles

Post by karlhelge » Wed Jul 17, 2024 10:02 am

I use keywords

Mr. Wimpy
Joomla! Guru
Joomla! Guru
Posts: 532
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: Related articles

Post by Mr. Wimpy » Wed Jul 17, 2024 4:11 pm

Can you post a URL to the page that displays the related articles?
So we can see what is happening.

karlhelge
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Wed Apr 24, 2013 9:03 pm

Re: Related articles

Post by karlhelge » Fri Jul 19, 2024 7:58 am

I made it work. Thanks for the help and tips.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 4.x”