kishaningithub / hugo-creative-portfolio-theme

Port of the creative portfolio theme to Hugo
https://themes.gohugo.io/hugo-creative-portfolio-theme/
MIT License
446 stars 291 forks source link

Correct lightbox by adding missing font and updated ekko-lightbox.js #80

Closed nununo closed 3 years ago

nununo commented 4 years ago

While trying to use the theme's existing ekko-lightbox I found that:

This PR add the missing font and updates ekko-lightbox.js file.

After these two changes lightbox is working fine:

<a href="/photo1.jpg" data-toggle="lightbox" data-gallery="gallery1">
  <img src="/photo1.jpg" width="100%"/>
</a>
<a href="/photo2.jpg" data-toggle="lightbox" data-gallery="gallery1">
  <img src="/photo2.jpg" width="100%"/>
</a>
kishaningithub commented 3 years ago

Thanks for the PR @nununo !! :-)

nununo commented 3 years ago

Thanks for the PR @nununo !! :-)

I am the one who thanks you! :-)