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

Issues with Blog Media Gallery In SmartWave Porto Theme #614

Closed
MagefanCustomer opened this issue Oct 3, 2024 · 1 comment
Closed

Issues with Blog Media Gallery In SmartWave Porto Theme #614

MagefanCustomer opened this issue Oct 3, 2024 · 1 comment

Comments

@MagefanCustomer
Copy link

No description provided.

@magefan
Copy link
Owner

magefan commented Oct 3, 2024

If you have any issues with the media gallery in a blog post using SmartWave Porto Theme, please follow the steps below.

First of all, if there are no blog post media gallery settings in the Magento 2 admin panel, please make sure that you use the latest version of blog extension.

Then create a new file in your theme directory:

app/design/ThemeVendor/themename/Magefan_Blog/templates/post/view/gallery.phtml

and add this code into it.

You need to do this as by default Magefan Blog Extension use FancyBox 3 for media gallery, and Porto theme uses FancyBox 2 and this new template will run media gallery using FancyBox 2.

If you need to change Fancybox settings please edit gallery.phtml file using FancyBox documentation.

@magefan magefan closed this as completed Oct 3, 2024
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

2 participants