setting custom height on step box #47

Closed
0101adm opened this Issue Sep 24, 2013 · 2 comments

Projects

None yet

4 participants

@0101adm

its defaulted to 300px.

how can i set the height to something else?

tried the css file but nothing yet.

@JonLeVitre

In smart_wizard.css under each of the .swMain .stepContainer entries change change the height to whatever you like.

@miyan27

you can add onShowStep on your option parameters, and link it to the function that included the css function for example :
$('#wizard').smartWizard({
transitionEffect: 'slideleft',
keyNavigation: false,
labelNext: 'next',
labelPrevious: 'back',
labelFinish: 'send',
onLeaveStep: function 1,
onShowStep: function 2,
onFinish: function 3
});

function 2(){
$("#wizard").smartWizard("fixHeight"); //if you want to delete the defaulted height or~
$('write your id name in here').css({
'height': '15px'}); //if you want to add some css
}

@mstratman mstratman added the question label Apr 13, 2016
@mstratman mstratman closed this Apr 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment