-
AuthorPosts
-
December 18, 2018 at 6:36 pm #1046970
Hi team,
The portfolio grid shortcode doesn’t have full functionality when used in a sidebar. The grid is displayed but the sorting options are unavailable. I think the CSS classes are not being picked up by the portfolio.js when the shortcode is in the sidebar, so the animations are prevented from working.
Is this deliberate or a bug? Is there a way we can get this working?
Many thanks,
Joe- This topic was modified 6 years ago by JoeLovell.
December 19, 2018 at 9:57 pm #1047432Hey JoeLovell,
Best regards,
VictoriaJanuary 2, 2019 at 3:35 pm #1049279This reply has been marked as private.January 4, 2019 at 4:29 am #1049775January 4, 2019 at 6:55 pm #1050086Hi Mike,
Thanks, I thought this might be the case. Looks like the js doesn’t select the correct classes when the element is in aside instead of main.
Please could you let me know an eta on fixing the issue (or a temporary patched js file). This site is relatively close to launch and it’s a lot of work to create manual widget area elements for every page that needs this sidebar.
Many thanks,
JoeJanuary 5, 2019 at 1:59 am #1050147January 11, 2019 at 12:37 am #1052538Hi,
Good news, the dev team has corrected the issue and it be in the next update. But for now you can use this patch.
Please download the zip file in the Private Content area, and extract it, then upload the two files to your
/enfold/config-templatebuilder/avia-shortcodes/portfolio/
directory.
You will need to ensure the new files overwrite your cached files, please disable your Enfold Theme Options > Performance > JS & CSS file merging and compression for testing, afterward enabling again should overwrite the cache.
Also clear your browser cache a few times.
Then you will need to wrap your shortcode in the widget with this div:<div class="av-portfolio-grid-sorting-container"> [your shortcode] </div>
I tested this on my localhost, but please let us know if it also works for you.
Thanks again for your patience.Best regards,
MikeJanuary 11, 2019 at 1:25 pm #1052734Hi Mike,
This is excellent. We’re close to launch and today was going to be the day I tried to fix it myself so I’m very pleased your devs beat me to it.
Thank you.
January 11, 2019 at 1:52 pm #1052741Hi,
Glad to hear, I’ll report back that the solution works for you, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeJanuary 11, 2019 at 1:54 pm #1052742You can, thanks
January 11, 2019 at 2:30 pm #1052752Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Portfolio shortcode not working in widget area’ is closed to new replies.