Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For anyone struggling to make a grid, here's my active fork #82

Open
Darthagnon opened this issue Jan 2, 2023 · 4 comments
Open

For anyone struggling to make a grid, here's my active fork #82

Darthagnon opened this issue Jan 2, 2023 · 4 comments

Comments

@Darthagnon
Copy link

Li-Wen Yip's example has a nice square grid for Easy Gallery photos. However, if you try and use Hugo Easy Gallery, you'll find it does not render a square grid, but an ugly rectangular grid with loads of whitespace. This is because it has an undocumented dependency on Bootstrap CSS v3.7.7, as used by Beautiful Hugo, the theme Li-Wen Yip used on his website.

I wasted 7+ hours of my life fixing this stupid thing, and have implemented it in my active fork. I'm mainly merging in pull requests, as well as some small fixes and this one big fix; pull requests welcome and appreciated.

@Darthagnon
Copy link
Author

Screenshots:

How it looks, as-is, from this repo:

chrome_oIXMoHMnxW

How it looks with Bootstrap integrated (and also on Li-Wen's website)

chrome_vWqrRJJCO1

@iroQuai
Copy link

iroQuai commented Jan 2, 2023

Said it on Reddit aswel, but: thanks!! I use this with Hyde theme and I have the same issues as you describe. Will check out your fork soon!

@no-budy
Copy link

no-budy commented Jan 31, 2023

Very Cool, I'll try your fork.

@jsacerot
Copy link

jsacerot commented Apr 1, 2023

@Darthagnon I tried your active fork (production) on the hugo-fresh theme following the instructions for manual installation and theme integration, but I am still facing the same issue (See screenshot below). Any advice on how to fix it?

Thank you!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants