Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
surendrababu challa
common CSS for all portlets and web content displays
March 18, 2012 2:56 AM
Answer

surendrababu challa

Rank: New Member

Posts: 12

Join Date: March 13, 2012

Recent Posts

How to create common css file for all webcontent dispalys and portlets in the portal. is it possible to write in the custom.css in the theme
Hitoshi Ozawa
RE: common CSS for all portlets and web content displays
March 18, 2012 3:25 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Yes, you can create your own theme with your own custom css. It's possible to extend the default classic theme so default display layout doesn't change too much.
surendrababu challa
RE: common CSS for all portlets and web content displays
March 18, 2012 9:35 PM
Answer

surendrababu challa

Rank: New Member

Posts: 12

Join Date: March 13, 2012

Recent Posts

Thanks Hithoshi. But is my common css written in custom.css will reflect in web content displays and portlets? is it enough to use the common classes and ids in all?
Hitoshi Ozawa
RE: common CSS for all portlets and web content displays
March 18, 2012 9:50 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Just set settings for default themes in portal-ext.properties to your theme. If you've overwritten which theme to use from GUI, you'll have to set them manually from GUI.
surendrababu challa
RE: common CSS for all portlets and web content displays
March 18, 2012 9:56 PM
Answer

surendrababu challa

Rank: New Member

Posts: 12

Join Date: March 13, 2012

Recent Posts

Thanks . would please tell where the location of portal-ext.properties?