Can not use an icon in pv:menu

Post Reply
ceechette
Posts: 9
Joined: 05 Oct 2017, 13:08

16 Oct 2017, 12:40

Hi, I use the Verona theme and in the "pv: menu" component, I can not add a custom icon like in the free version. How can I change this? I wait for an answer.

Thank you so much.

User avatar
aragorn
Posts: 2638
Joined: 29 Jun 2013, 12:38

18 Oct 2017, 12:08

I can not add a custom icon like in the free version
I don't understand this issue. I think you want to change the icons of p:menuitem. Is it right? Could you please attach a screenshot?

ceechette
Posts: 9
Joined: 05 Oct 2017, 13:08

19 Oct 2017, 18:28

aragorn wrote:
18 Oct 2017, 12:08
I don't understand this issue. I think you want to change the icons of p:menuitem. Is it right? Could you please attach a screenshot?
I ended up solving using it like this:

".icone-padrao {
background-repeat: no-repeat;
background-position: left;
padding-right: 19px;
}

.icon1 {
background-image: url('../resources/img/icon/cadastros.png');
}"

Is that correct?

User avatar
aragorn
Posts: 2638
Joined: 29 Jun 2013, 12:38

01 Nov 2017, 11:19

Glad to hear, thanks a lot for the update!

Regards,

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest