留言板

Web content font size modification

asad as asad,修改在15 年前。

Web content font size modification

New Member 帖子: 12 加入日期: 09-3-18 最近的帖子
Hi. Every body.

I want to change the font size of the web content( liferay 5.2), for example, the h1, h2 etc

at the moment, i have inspected the font size with firebug, and found out the following results

h1 { base.css (line 123)
font-size: 1.8em;
}

i have tried to change the h1 font size from 1.8em to 20em( as example) using custom.css , but nothing changed

i have heard that css_cached.jsp overwrites this change, but i could not even get that file !!

I would appreciate, if any one could help .


Thanks
thumbnail
Mohd Hanafi,修改在14 年前。

RE: Web content font size modification

Junior Member 帖子: 83 加入日期: 10-1-18 最近的帖子
The system not refer to custom.css because we not set the properties for development stage.
These are proerties to be included in portal-ext.properties


#############################################################
## ##
## FOR DEVELOPMENT PURPOSE, NEED TO REMOVE AT PRODUCTION ##
## ##
#############################################################

##
## Set this property to true to load the theme's merged CSS files for faster
## loading for production.
##
## Set this property to false for easier debugging for development. You can
## also disable fast loading by setting the URL parameter "css_fast_load" to "0".
##
##
theme.css.fast.load=false
##
## Set this to flase to disable the display of CSS logging.
##
theme.images.fast.load=false
##
## Set this property to true to load the packed version of files listed in
## the properties "javascript.barebone.files" or
## "javascript.everything.files".
##
## Set this property to false for easier debugging for development. You can
## also disable fast loading by setting the URL parameter "js_fast_load" to
## "0".
##
javascript.fast.load=false
##
## Set this to true to enable the display of JavaScript logging.
##
javascript.log.enabled=true
##
## Setting it to false is useful during development if you need to make a lot
## of changes.
layout.template.cache.enabled=false
##
##
## Last Modified
##
## Set this to true to check last modified date on server side CSS and
## JavaScript. On Development purpose just set it false
##
last.modified.check=false
##
## Enabling OpenOffice integration allows the Document Library portlet and
## the Wiki portlet to provide conversion functionality. This is tested with
## OpenOffice 2.3.x and 2.4. To start OpenOffice as a service, run the
## command:
##
## soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;"
##
openoffice.cache.enabled=false
##
## Set the Velocity resource managers. We extend the Velocity's default
## resource managers for better scalability.
##
velocity.engine.resource.manager.cache.enabled=false
##
## The cache filter will cache content. See ehcache.xml to modify the cache
## expiration time to live.
##
com.liferay.portal.servlet.filters.cache.CacheFilter=false

##
## The theme preview filter generates a preview of the currently applied
## theme that can be used by the Dreamweaver Theming plugin. This is disabled
## by default. Set the "themePreview" parameter to "1" in the URL to access
## the theme preview for any page. For example, a URL can be
## http://localhost:8080/web/guest?themePreview=1.
##
com.liferay.portal.servlet.filters.theme.ThemePreviewFilter=true