RE: How to override the look and feel of Collections Display fragment

bo li, modified 2 Years ago. Junior Member Posts: 38 Join Date: 11/14/11 Recent Posts

Version:  Liferay 7.4
I have a Collection Display fragment on a Collection page,  I am trying to change look and feel or add some custom logic for Collection Display fragment.   

I tried to look for the source code of the fragment,  spent quite some time to use Liferay Module Project Fragment to override some jsp files and set break points in the java code, but couldn't find it anywhere.

Please let me know how I can achieve this requirement,  appreciate for the help.

thumbnail
Olaf Kock, modified 2 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

You can change the look&feel by adding CSS to either the page or every single collection item.

I'd not recommend to change JSPs in order to change built-in fragments (in fact, I'd somewhat expect them to not even have JSPs, but I wouldn't even check how they're implemented).

It might help to provide a solution for your problem if we knew exactly what you intend to achieve.