Skip to content

Breakpoint option for setting when the mobile layout gets triggered#151

Open
itsmattsoria wants to merge 3 commits intozurb:masterfrom
itsmattsoria:breakpoint-option
Open

Breakpoint option for setting when the mobile layout gets triggered#151
itsmattsoria wants to merge 3 commits intozurb:masterfrom
itsmattsoria:breakpoint-option

Conversation

@itsmattsoria
Copy link

The plugin has the tips switch to a mobile layout at 768px by default, but in the case that I'm using it in I didn't need the mobile layout to be triggered until smaller than that, so I thought adding a breakpoint option to the settings would be helpful. If left untouched the default is still 768px, but if desired you can set your own:

$('#joyride').joyride({
    breakpoint:600
})

Remember, this is a only screen and max-width() media query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant