Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
John Nguyen
Custom CSS
July 18, 2012 2:14 PM
Answer

John Nguyen

Rank: New Member

Posts: 21

Join Date: July 16, 2012

Recent Posts

Hello Everyone, I'm new to Liferay and I don't quite know my way around it yet. My first task I would like to tackle is how do i edit the master css that gets populated through a entire portlet through the backend. Any suggestions as to how I may accomplish this?

Thanks,
John
Hitoshi Ozawa
RE: Custom CSS
July 18, 2012 2:33 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

How about developing a theme?

Example of changing color:
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/color-schem-4
Priyanka Dhingra
RE: Custom CSS
July 18, 2012 10:48 PM
Answer

Priyanka Dhingra

Rank: Liferay Master

Posts: 501

Join Date: December 19, 2011

Recent Posts

Hi John Nguyen,
create a new theme(http://www.integratingstuff.com/2011/11/30/styling-liferay-creating-a-liferay-theme/)
in the folder structure go to _diffs/css/custom.css
and you can override any style
John Nguyen
RE: Custom CSS
July 19, 2012 6:25 AM
Answer

John Nguyen

Rank: New Member

Posts: 21

Join Date: July 16, 2012

Recent Posts

The only problem is that I can't access the ftp server. My only hope is through the liferays admin panels, is this possible?

Thanks!
Hitoshi Ozawa
RE: Custom CSS
July 19, 2012 6:40 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Yes, just create a theme war file. Go to Control Panel -> Server Administration. There should a menu item on uploading plugin.
Just upload your theme war file from this page.

http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen12-plugins-installation-0
John Nguyen
RE: Custom CSS
July 19, 2012 7:14 AM
Answer

John Nguyen

Rank: New Member

Posts: 21

Join Date: July 16, 2012

Recent Posts

How do I export an existing site's war file so that its the same one I'm editing on my local. Again, thanks for your quick response. I appreciate your help!
Hitoshi Ozawa
RE: Custom CSS
July 19, 2012 7:18 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

How do I export an existing site's war file so that its the same one I'm editing on my local.


If you have a new question, please create a new thread. Having several topic in a thread is very confusing.
Jawwad Farooq
RE: Custom CSS
July 19, 2012 9:23 PM
Answer

Jawwad Farooq

Rank: Junior Member

Posts: 35

Join Date: June 21, 2012

Recent Posts

John Nguyen:
How do I export an existing site's war file so that its the same one I'm editing on my local. Again, thanks for your quick response. I appreciate your help!


You can't export it as a WAR file but here LAR file comes in for help. This is Liferay Archive file which contains a lot of information of your site including the Roles you have made for your Site. To export a LAR file go to Site Pages option of Control Panel and there on top of the panel, you find Export/Import buttons.