Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Auditya manikanta Vadrevu
How to change themes Page Menu color ?
March 23, 2009 4:00 AM
Answer

Auditya manikanta Vadrevu

Rank: Liferay Master

Posts: 621

Join Date: May 6, 2008

Recent Posts

hi all,

how to change the page menu color from black to any other color. i have tried alot changing css files to bring orange color but the page menu is not changed. How to do it ? any idea...



With Regards,
V.Auditya
Attachment

Attachments: menu.png (4.4k)
Manish Kumar Gupta
RE: How to change themes Page Menu color ?
March 23, 2009 4:42 AM
Answer

Manish Kumar Gupta

LIFERAY STAFF

Rank: Liferay Master

Posts: 535

Join Date: May 15, 2008

Recent Posts

You need to add following in portal-ext.properties before changing anything in js/css

theme.css.fast.load=false
theme.images.fast.load=false

javascript.fast.load=false
javascript.log.enabled=true

layout.template.cache.enabled=false

last.modified.check=false

velocity.engine.resource.manager.cache.enabled=false

com.liferay.portal.servlet.filters.cache.CacheFilter=false
Auditya manikanta Vadrevu
RE: How to change themes Page Menu color ?
March 23, 2009 10:06 PM
Answer

Auditya manikanta Vadrevu

Rank: Liferay Master

Posts: 621

Join Date: May 6, 2008

Recent Posts

hi manish,
thanks for ur quick reply.

i have added the properties in portal-ext.properties, But what is exact css file and class where i must edit to change menu color .( is it navigation.css or any other file in liferay-jefi-theme/css folder),



Thanks in Advance,
V.Auditya
Felix J Christy
RE: How to change themes Page Menu color ?
September 3, 2009 9:19 PM
Answer

Felix J Christy

Rank: Regular Member

Posts: 111

Join Date: August 25, 2009

Recent Posts

Hi,

Its bit complex to find CSS classes. An easy way is to install firebug plugin in firefox and just highlight the menu. It will show a css class name and css file name. You can also change the color at run time!

Cheers,
Felix
Auditya manikanta Vadrevu
RE: How to change themes Page Menu color ?
September 3, 2009 10:32 PM
Answer

Auditya manikanta Vadrevu

Rank: Liferay Master

Posts: 621

Join Date: May 6, 2008

Recent Posts

hi Felix Joseph Christy ,

I have found the css long before, the menu uses a background horizontal bar (profile_bg.png) first and then on it the list appears . Anyways, your solution will decrease the effort to find.

Thanks,
V.Auditya
Oliver Bayer
RE: How to change themes Page Menu color ?
September 4, 2009 12:33 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 883

Join Date: February 18, 2009

Recent Posts

Hi,

if you've found the causing css you can override the background settings in the custom.css file of your theme e.g.
1.the-css-class-to-modify{
2background: white;
3}


HTH