Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
w g
how to make my css effect?
September 18, 2012 1:35 AM
Answer

w g

Rank: New Member

Posts: 2

Join Date: September 18, 2012

Recent Posts



i wanna modify the button on the page "manage page", i find the css is in application.css, and the "control panel" page use this css also. so i can't modify this css directly, because it will effect "control panel".

so i add css in main.css of "manage page" portlet, but it doesn't work, see the pic above.

now, i wanna add new css and make the "manage page" use my css, what should i do?

btw: because i am chinese, so i am afraid that i can't express myself clearly, so if you don't get it, let me know, i try my best to make it clearly.
w g
RE: how to make my css effect?
September 18, 2012 1:37 AM
Answer

w g

Rank: New Member

Posts: 2

Join Date: September 18, 2012

Recent Posts

i intend to upload a pic, i think it could make my question much more clearly, but i am failedemoticon
Jignesh Vachhani
RE: how to make my css effect?
September 18, 2012 1:55 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 780

Join Date: March 10, 2008

Recent Posts

I would suggest to use !important for each CSS attribute value.
Because there would be some other CSS classes which may conflict with your CSS.
Like:

.example{
color : black !important;
}
Mazhar Alam
RE: how to make my css effect?
September 18, 2012 1:59 AM
Answer

Mazhar Alam

Rank: Regular Member

Posts: 188

Join Date: November 25, 2011

Recent Posts

Follow as suggested by Jignesh..that would be helpful..