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

Portfolio documentation missing modal setup #878

Open
tommyalatalo opened this issue Sep 3, 2022 · 2 comments
Open

Portfolio documentation missing modal setup #878

tommyalatalo opened this issue Sep 3, 2022 · 2 comments
Labels

Comments

@tommyalatalo
Copy link

tommyalatalo commented Sep 3, 2022

What happened?

I'm trying to set up a portfolio fragment similar to the live demo, but when clicking on an image the modal doesn't open up. There doesn't seem to be any examples for how to make the modal appear, the example fragment just states that An additional description can be provided and shown as a modal upon clicking the portfolio., but how do you do that? The content found in exampleSite of the repo doesn't have working modals either, so I can't seem to find the information on how to set this up anywhere.

I also checked that the .has-modal class is applied to the image elements, which it is, but it's still not opening like mentioned above.

What did you expect to happen?

The modal to open up when clicking a portfolio image.

How can we reproduce this issue?

Run the exampleSite.

Is there anything else we need to know about?

No response

Syna theme version

0.17.3

Hugo version

v0.102.3+extended

Versions of other dependencies

No response

@tommyalatalo tommyalatalo changed the title Portfolio documentation lacking modal setup Portfolio documentation missing modal setup Sep 3, 2022
@stp-ip
Copy link
Member

stp-ip commented Sep 3, 2022

Try disabling minification:

[minify]
disableJS = true

I assume this might be due to a JS issue. Haven't had time at all to look into the issue unfortunately.

@tommyalatalo
Copy link
Author

Yeah that seems to have solved it, thanks

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

No branches or pull requests

2 participants