开发者

How to change the color of my navigation bar

开发者 https://www.devze.com 2023-02-28 07:57 出处:网络
Instead of a common navigation bar i use a primefaces tool called dock. I want to change its background color, i don\'t want the grey that comes by default.

Instead of a common navigation bar i use a primefaces tool called dock. I want to change its background color, i don't want the grey that comes by default. But i am confused:

I don't know what i should do.

Should i create some .css? If so, how i pass it to the component?

Do开发者_运维问答 i need to hack the component source code in someway to achieve this?If so how can i change just what interests me without harming the component?

Could someone give me some tips how can i achieve my goal?


For the top bar on the page link is pointing to. you need to override following classes

ui-dock-top ui-widget & ui-dock-item-top

add style background-color:somevalue to change the color

0

精彩评论

暂无评论...
验证码 换一张
取 消