denehyg / reveal.js-menu

Slide out menu for reveal.js
https://denehyg.github.io/reveal.js-menu
MIT License
281 stars 76 forks source link

configuration to choose the position of menu button #18

Closed niconil closed 8 years ago

niconil commented 8 years ago

by default the menu button is in left bottom corner but when using reveal.js with autoslide there are two buttons one over the other

is it possible to add a configuration parameter to choose the location of the menu button ?

denehyg commented 8 years ago

This is simple enough to do with CSS. Just add the following inside the body...

<style>
  .reveal .slide-menu-button {
    right: 30px;
  }
</style>

You can put the button anywhere you want, for example if you want it in the top left corner...

<style>
  .reveal .slide-menu-button {
    left: 30px;
    top: 30px;
  }
</style>