如何添加CSS更改Liferay基本视图? [英] how to add css to change liferay basic view?
问题描述
我想在liferay网站上使用一些自定义ui.如何实现这一点
I want to use some custom ui in my liferay site .How can i make it possible
喜欢我是否要更改liferay的这一部分?
Like if i want to change this portion of liferay?
我为此制作了一个css文件,但该文件仅覆盖了以下部分.
I have made one css file for this but its just overlay this followingsection.
那么用CSS编辑liferay的这一部分的方法是什么?
so any way to edit this section of liferay with css?
推荐答案
执行此操作的正确方法是创建一个主题,该主题将具有一个模板目录设置,该模板目录设置会将特定的css合并到系统所基于的css.
The right way to do this is to create a theme which will have a template directory setup that will merge specific css to the ones which the system is based on.
http://www. liferay.com/documentation/liferay-portal/6.0/development/-/ai/creating-a-theme
或者,不经过完整主题开发过程即可快速破解,您可以更改文件夹中的css:
Alternatively for a quick hack without going through the full theme development process you can change the css in the folder:
liferay-portal-6.1.10-ee-ga1 \ tomcat-7.0.25 \ webapps \ ROOT \ html \ themes \ classic \ css
liferay-portal-6.1.10-ee-ga1\tomcat-7.0.25\webapps\ROOT\html\themes\classic\css
提供您正在使用默认的经典主题.
provided that you are using the default classic theme.
这当然不是推荐的方法,但是会起作用.
This is of course not the recommended way but will work.
这篇关于如何添加CSS更改Liferay基本视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!