How to change navBarPage header background in Zebble?

爱⌒轻易说出口 提交于 2019-12-12 04:47:39

问题


I changed the navbar-background Css Role in common.scss file but background of navbarpage not changed.

.navbar-background { background: linear-gradient(to top, #5adb43, #51b93f,#748930); }

I add this code to common.scss but it is not worked!


回答1:


Your approach is correct according to the Zebble documentation: http://zebble.net/docs/navigationbar-class

To change NavBar background color you can change this rule to change the colors. But you have made a mistake in linar-gradiant method parameters.

You add one extra parameter to the method and because of this your code has not worked. I wrote correct one for you.

You can add the following in common.scss

.navbar-background { background: linear-gradient(to bottom, #5adb43, #51b93f); }


来源:https://stackoverflow.com/questions/43353079/how-to-change-navbarpage-header-background-in-zebble

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!