Hi, im using a Grav+Gantry5 and Hydrogen. I installed fullpage pluguin of OleVik. But i cant understand how i need for assign the fullpage in the sections.
My web no have page content, have sections in the layout. I tried to assign “section” css class to the sections, but nothing happens.
I am not aware of any structural changes to Gantry5 or Hydrogen that would prevent this, but then again I do not use Gantry. Rather than relying on CSS-classes, the plugin relies on Markdown for achieving the structure. For example, see the demo content of the Alice in Wonderland book here.
That is to say, the content structures the FullPage.js functionality.
In you example link, this are pages, but im not using pages for make a content, im using only sections with particles “/user/data/gantry5/themes/g5_hydrogen/config/home_particles/layout.yaml”.
I put differents methods for make a fullpage navigation, writing “section” in the CSS Classes, but not work.
CSS-classes will have no effect here, as the plugin willfully ignores pre-existing styling. The only separator of sections and slides, per the FullPage.js nomenclature, are page-structures and horizontal rules. This is detailed here.
With the caveat that I have not used Gantry for a long while, I think you would need to break the slides using a “Custom HTML” particle that inserts a horizontal rule – <hr /> – or a FrontMatter-variable of horizontal: true if you want it to behave as sections.
I cannot guarantee that this will work, as noted earlier I do not use Gantry, but the logic should be commensurate with the buildContent()-method of the plugin.
I tried fullpage in a normal page (not section of gantry), but do not work. I used a normal Grav site without gantry, but nothing works, i cant understand how to use you pluguin