Edo
asked on 14 Sep 2023, 12:10 PM
| edited on 15 Sep 2023, 11:55 AM
Hello,
We are using a TelerikWizard with WizardStepperSettings Linear="false" and would like to move the labels inline with the step indicators. See this example picture:
Is dat possible?
Regards,
-Edo
1 Answer, 1 is accepted
0
Hristian Stefanov
Telerik team
answered on 18 Sep 2023, 10:45 AM
Hi Edo,
You can change the labels position in the desired way by using the following CSS:
@using Telerik.FontIcons
<style>.k-step-list-horizontal.k-step-link {
flex-direction: row;
}
.k-stepper.k-step-label {
background-color: white;
}
</style><TelerikWizard @bind-Value="@WizardValue"><WizardSettings><WizardStepperSettingsLinear="false" /></WizardSettings><WizardSteps><WizardStepLabel="Start"Icon="@FontIcon.Gear"><Content><p>Welcome to the Wizard!</p></Content></WizardStep><WizardStepLabel="Survey"Icon="@FontIcon.Pencil"><Content><p>The user is performing some actions...</p></Content></WizardStep><WizardStepLabel="Finish"><Content><p>Thank you!</p></Content></WizardStep></WizardSteps></TelerikWizard><p><strong>Wizard Value: @WizardValue</strong></p>
@code {
int WizardValue { get; set; }
}