Fórumok

how to make my css effect?

w g, módosítva 11 év-val korábban

how to make my css effect?

New Member Bejegyzések: 2 Csatlakozás dátuma: 2012.09.18. Legújabb bejegyzések


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, módosítva 11 év-val korábban

RE: how to make my css effect?

New Member Bejegyzések: 2 Csatlakozás dátuma: 2012.09.18. Legújabb bejegyzések
i intend to upload a pic, i think it could make my question much more clearly, but i am failedemoticon
thumbnail
Jignesh Vachhani, módosítva 11 év-val korábban

RE: how to make my css effect?

Liferay Master Bejegyzések: 803 Csatlakozás dátuma: 2008.03.10. Legújabb bejegyzések
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;
}
thumbnail
Mazhar Alam, módosítva 11 év-val korábban

RE: how to make my css effect?

Regular Member Bejegyzések: 191 Csatlakozás dátuma: 2011.11.25. Legújabb bejegyzések
Follow as suggested by Jignesh..that would be helpful..