i have seeing these .z-menubar-hor .z-menu-btn

asked 2018-04-13 20:54:57 +0800

joaopmi gravatar image joaopmi
5 1

how do i know all of these? I cant change the style of components with css, because i don't know these class access. There's some documentation that i can know more about these .z-menu-m etc?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-13 23:51:43 +0800

jorgimello gravatar image jorgimello
16 1

updated 2018-04-18 06:40:17 +0800

You can use the browse's console to find the class of any component. After finding it, you can create a css file and set your own style. You must set like this:

.z-menubar {
   background: #EDEDED;
   /* other styles */

There is no need to append any sclass to the element in the .zul file. Sometimes you need to use !important to override the default style. (The browser shows if the created style is not active).

background-color: #0093F9 !important;
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2018-04-13 20:54:57 +0800

Seen: 7 times

Last updated: Apr 18