Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Juan M. Gomez
[SOLVED] Two different styles for portlets on the same page
November 14, 2008 5:48 AM
Answer

Juan M. Gomez

Rank: Junior Member

Posts: 66

Join Date: November 7, 2007

Recent Posts

Hi guys,
In the project I'm working on, we have 3 columns with portlets, one of them shows only static portlets, and the other two handle portlets that the user adds.

The thing is that I need the portlets on the static column to have a style different from the ones in the other columns, that different style involves different portlet title and borders as well as another modifications.

Would that be possible? Any advices are welcome.


Juan M.
Samuel Kong
RE: Two different styles for portlets on the same page
November 13, 2008 6:04 PM
Answer

Samuel Kong

LIFERAY STAFF

Rank: Liferay Master

Posts: 900

Join Date: March 10, 2008

Recent Posts

You can target the first column with your CSS using "#column-1"
Juan M. Gomez
[SOLVED] Two different styles for portlets on the same page
November 14, 2008 5:47 AM
Answer

Juan M. Gomez

Rank: Junior Member

Posts: 66

Join Date: November 7, 2007

Recent Posts

Thanks for your response Samuel, I'm creating new styles for the first column appending the #column-1 to them and it works perfectly.


Juan M.