diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 58ce604..d9932fd 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -121,4 +121,22 @@ } } } + } + + .swiper-container { + max-width: 820px; + margin: 2em auto; + + } + .swiper-slide { + text-align: center; + font-size: 18px; + background-color: #fff; + /* Center slide text vertically */ + display: flex; + justify-content: center; + align-items: center; + img { + margin: 0 !important; + } } \ No newline at end of file diff --git a/layouts/shortcodes/imgloop.html b/layouts/shortcodes/imgloop.html new file mode 100644 index 0000000..215e4a9 --- /dev/null +++ b/layouts/shortcodes/imgloop.html @@ -0,0 +1,37 @@ + + + +
+
+ {{$itItems := split (.Get 0) ","}} + {{range $itItems }} +
+ +
+ {{end}} +
+ +
+
+ + + +