• Resolved bobfelstead

    (@bobfelstead)


    I’m trying to decrease the number of employees shown in the employees section from 3 to 2. At the same time I wish to increase the size of each employees container. Is this possible? I’ve checked the Owl-Slider documentation and it says set items:3,but I can find where this needs to be placed within the theme.

    Any help woukld be appreciated.

    Regards,

    Bob

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Thread Starter bobfelstead

    (@bobfelstead)

    Thanks Vlad, that worked a treat.

    Is the Sydney employees a premium feature? I cant see any of its options on my installation. Thanks.

    Thread Starter bobfelstead

    (@bobfelstead)

    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!

    Thread Starter bobfelstead

    (@bobfelstead)

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sydney Employees’ is closed to new replies.