掲示板

Custom CSS

thumbnail
11年前 に John Nguyen によって更新されました。

Custom CSS

New Member 投稿: 21 参加年月日: 12/07/16 最新の投稿
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
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Custom CSS

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
How about developing a theme?

Example of changing color:
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/color-schem-4
thumbnail
11年前 に Priyanka Dhingra によって更新されました。

RE: Custom CSS

Liferay Master 投稿: 501 参加年月日: 11/12/20 最新の投稿
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
thumbnail
11年前 に John Nguyen によって更新されました。

RE: Custom CSS

New Member 投稿: 21 参加年月日: 12/07/16 最新の投稿
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!
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Custom CSS (回答)

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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
thumbnail
11年前 に John Nguyen によって更新されました。

RE: Custom CSS

New Member 投稿: 21 参加年月日: 12/07/16 最新の投稿
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!
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Custom CSS

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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.
11年前 に Jawwad Farooq によって更新されました。

RE: Custom CSS

Junior Member 投稿: 35 参加年月日: 12/06/21 最新の投稿
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.