Jump to content
Welcome to our new Citrix community!

Custom ViewButton icon in StoreFront


Recommended Posts

Hi,

 

I have added two new viewButton with help of ctxs.extensionapi.addViewButton. I have managed to change the icon from the default circle to a custom png in the style.css file. However.... Everything looks good until I click the last button (Status). Then the icon for the first button (Hjelp / Help) changes to the same icon as the Status button. In the browsers development tool, the lines regarding .Helpclass has a line over them and the .Statusclass is the "active setting" (in loss for better or more accurate words).

 

What did I do wrong?

 

Screenshots is attached. See below for the content of the style.css file.

 

 

.Helpclass-view .view-sprite {
     background: url('button-help.png') no-repeat;
}



.Statusclass-view .view-sprite {
     background: url('button-status.png') no-repeat;
}

 

 

 

Any help is much appreciated :-)

 

-Owe

msedge_7kN06lGaPb.png

msedge_eplZin7wTs.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...