Hi!
I´m using Primefaces Spark and i´m trying to build a dynamic Menu.
It´s working fine, but...
I want to remove the "Down-Arrow" that is always shown in the Submenu-Topic.
Can someone tell me where and how?
Thx
FIBACos
How to remove the down-arrow in submenu?
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
There are two workaround for this issue;
first;
second;
in SparkMenuRenderer.java
first;
Code: Select all
.fa-chevron-down {
display: none !important;
}
in SparkMenuRenderer.java
Code: Select all
protected void encodeSubmenu(FacesContext context, AbstractMenu menu, Submenu submenu, int marginLevel) throws IOException{
...
String menuIconClass = rootSubmenu ? "Fs14 Fright ShowOnMobile" : "Fs12 Fright"; //please remove "fa fa-chevron-down" class on line 227
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks for the comment!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests