Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting custom height on step box #47

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

setting custom height on step box #47

0101adm opened this issue Sep 24, 2013 · 2 comments
Labels

Comments

@0101adm
Copy link

0101adm commented Sep 24, 2013

its defaulted to 300px.

how can i set the height to something else?

tried the css file but nothing yet.

@JonLeVitre
Copy link

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

@miyan27
Copy link

miyan27 commented Apr 7, 2016

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
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants