December 18, 2018 at 6:36 pm #1046970
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?
December 19, 2018 at 9:57 pm #1047432January 2, 2019 at 3:35 pm #1049279January 4, 2019 at 4:29 am #1049775January 4, 2019 at 6:55 pm #1050086
- This topic was modified 7 months ago by JoeLovell.
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.
JoeJanuary 5, 2019 at 1:59 am #1050147January 11, 2019 at 12:37 am #1052538
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
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=" (Purchase code hidden if logged out) "> [your shortcode] </div>
MikeJanuary 11, 2019 at 1:25 pm #1052734
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 #1052741
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?
MikeJanuary 11, 2019 at 1:54 pm #1052742January 11, 2019 at 2:30 pm #1052752
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 :)
The topic ‘Portfolio shortcode not working in widget area’ is closed to new replies.