The code is in main.min.js, which is a minified version of main.js (this one isn’t loaded). If you plan to overwrite it you should use a child theme.
Thanks Vlad, that worked a treat.
Is the Sydney employees a premium feature? I cant see any of its options on my installation. Thanks.
It’s a standard feature and its a drag and drop option when adding widgets in page builder. It should be recognized as Sydney Employees in the back-end.
On the dashboard, there should be an employee section. Add employees there. If there are no employees, then the widget will not display any content on the frontend.
What i have to do if i want four employees on the same line? I want to see absolutly the four of them!
hi lept,
Create the child theme first and copy main.min.js to the js folder of your child theme, eg: /wp-content/themes/child_theme/js
Open main.min.js in your favourite editor, or you could use main.js and minify it after the edit, then proceed as above. For the purpose of this response, I’m Showing main.min.js below, look for this at towards the bottom of the file:
.owlCarousel({navigation:!1,pagination:!0,responsive:!0,items:3,itemsDesktopSmall:[1400,3],itemsTablet:[970,2],itemsTabletSmall:[600,1],itemsMobile:[360,1],touchDrag:!0,mouseDrag:!0,autoHeight:!1,autoPlay:!1})}
Change the itemsDesktopSmall:[1400,3] to [1400,4], save the file upload and replace. That’s it!
You can also amend the Tablet, TabletSmall and Mobile in a similar way.
The first vale of [x,y] is the screen size, the second is the number of images.
Hope this helps
Bob