Checkout the video for live preview. I am using the OWL Carousel jQuery library for carousel effect. Follow the steps at below:
Open your functions.php file and write the following PHP scripts there. Before editing the file you will keep a backup of your child theme.
If you need any help then you can feel free contact me.