diff --git a/docs/getting_started/beginners_guide.rst b/docs/getting_started/beginners_guide.rst index 123a1430..4e860b55 100644 --- a/docs/getting_started/beginners_guide.rst +++ b/docs/getting_started/beginners_guide.rst @@ -107,12 +107,14 @@ but the simplest one is probably to just add images as HTML. Add the following markup inside the ```` tag:: -
+
+Note that we set a height for the ``
``. This is necessary for Galleria to work properly, +and you can set it via CSS rules if you'd like. If a Galleria Load a theme ============ @@ -132,7 +134,7 @@ Activate the gallery All we need to do now is to activate Galleria. Add the following script after the loadTheme function we just inserted:: - Galleria.run('#galleria'); + Galleria.run('.galleria'); As you can see, we just applied galleria to the '#gallery' container where the images are. That’s it! @@ -151,14 +153,14 @@ The complete code example: -
+