Need to change the position of "Undo checkout" button in Form tab

Binod Paikaray asked on June 20, 2016 15:07

Hello,

We need to change the position of "Undo checkout" button which comes under Form tab when a WorkFlow is applied to a document. We need to move this button to rightmost on the UI far away from other buttons("Save" and "Check in"). So, please let me know how should we accomplish this task?

Thanks, Binod Paikaray

Recent Answers


Joshua Adams answered on June 20, 2016 16:32

I believe you could make a style in your own stylesheet to override the styles on the button. Otherwise, if not, you either will need to go into Kentico's stylesheet and modify it(not recommended) or use javascript or jquery to add styles to the page.

Not sure of any other ways off the top of my head.

1 votesVote for this answer Mark as a Correct answer

Binod Paikaray answered on June 20, 2016 17:22

Thanks Joshua Adams for your response. I tried with style changes on browser itself and it was working for me but I think I cannot change/override the default style as it's being used for many buttons so I am thinking to create a new style and apply that to the button "Undo Checkout" but for that I need to find out the exact page where this button is added at code level. But I'm not able to find that page. Could you please help me out for same?

0 votesVote for this answer Mark as a Correct answer

Kevin Kamrowski answered on June 20, 2016 18:59

Hi Binod, You could try adding a Static HTML web part to the specific page your working on and write the override css class within the text property. Otherwise, if you are already using a web part to display the work flow, you could add the style tag to the Content Before property of that web part which should override the css only for that specific button instead of for every button on your site.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.