-
-
I have updated to the most recent version of Tower (1.6) and Visual Composer (4.11.2) – now none of my media grids are working. I can see the grids on the backend and in Visual Composer – but they do not show on the site itself. For example, this page has a large photo album. However, it is only showing as a blank space: https://66.147.244.177/~lavendl6/photo-album
I tried the instructions I found in this post, but that did not work. I have tried creating new media grids, changing settings, etc., but nothing shows on my site or on mobile.
Rebecca
-
Hello,
Please go to file js/main.js and find these lines:
function codelessOnePageContent(){ "use strict"; $('.composer_content').onePageNav({ currentClass: 'current-menu-item', changeHash: false, scrollSpeed: 750, scrollThreshold: 0.5, }); }
Delete them and save file. Let us know.
Best regards!
- This reply was modified 8 years, 7 months ago by Mirela.
-
Mihaila – Unfortunately, that did not work. It broke the site, so I put the code back in. Any other ideas?
-
Hello,
Please go to file js/main.js and find this line:
linkElement : 'a:not([target="_blank"]):not([href^=#]):not(.lightbox-gallery):not(.zoom):not(.prettyphoto)'
Replace with this:
linkElement : 'a:not([target="_blank"]):not([href^="#"]):not(.lightbox-gallery):not(.zoom):not(.prettyphoto)'
It will remove the js error you got in your site and make media grid elemnts show.
Let us know.Best regards!
-
Mihaila –
That worked! Thank you so much. I have one more (stupid) question: since I am using a child theme, do I need to also upload the js/main.js file to my child theme? I am new to child themes.
Rebecca
-
Hello,
It will not be necessary for this one. We will make the same edit in the next theme update so you will not have to worry about it again.
Best regards!
-
You must be logged in to reply to this topic.