Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
What is $css_class in portal_normal.vm
Hi,
I am going to create my theme by modifying an existing theme in liferay (5.2.3).
In the portal_normal.vm file, can anybody tell me what $css_class should be?
Here is a portion of the code I copied from the existing portal_normal.vm file:
Thanks
Sam
I am going to create my theme by modifying an existing theme in liferay (5.2.3).
In the portal_normal.vm file, can anybody tell me what $css_class should be?
Here is a portion of the code I copied from the existing portal_normal.vm file:
<title>$company_name - $the_title</title>
$theme.include($top_head_include)
#css ($css_main_file)
<script type="text/javascript">
// <![CDATA[
$page_javascript_1
$page_javascript_2
$page_javascript_3
// ]]>
</script>
#if ($company_logo != "")
<style type="text/css">
/* <![CDATA[ */
#banner-fol .logo-fol a {
background: url($company_logo) no-repeat;
display: block;
font-size: 0;
height: ${company_logo_height}px;
text-indent: -9999em;
width: ${company_logo_width}px;
}
#ie6_png_fix()
/* ]]> */
</style>
#end
[color=#CC2525][/color]
Thanks
Sam
Hi Sam Wan,
$css_class is a variable. They mentioned in
_unstyled/templates/init.vm
Just check in init.vm file.
#set ($css_class = $theme_display.getColorScheme().getCssClass())
Thanks in Advance,
V.C.Vijayan
Software Developer, TransIT mPower Labs (P) Ltd.
info@mpowerglobal.com
mPower Global Inc.
A Liferay expert company.
$css_class is a variable. They mentioned in
_unstyled/templates/init.vm
Just check in init.vm file.
#set ($css_class = $theme_display.getColorScheme().getCssClass())
Thanks in Advance,
V.C.Vijayan
Software Developer, TransIT mPower Labs (P) Ltd.
info@mpowerglobal.com
mPower Global Inc.
A Liferay expert company.