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

Is there any way to position the navigation buttons outside of the slides? #247

Open
hkichen opened this issue Mar 7, 2022 · 1 comment

Comments

@hkichen
Copy link

hkichen commented Mar 7, 2022

So far, the only way I've been able to get to navigation icons to not lay on top of the slides is to add padding to the left and right of each slide. In doing so, I sacrifice a ton of real estate on the slide and have excessive negative space between slides.

Is there any way to make it so that the navigation sits outside the slides without putting in excessive padding?

Before padding:
image

After padding:
image

@MaximumRGB
Copy link

It is posiible.
Any element of your DOM can handle the click event as it is described in "Custom controllers" example https://baianat.github.io/hooper/examples.html#custom-controllers

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

No branches or pull requests

2 participants