• Resolved saratcollins

    (@saratcollins)


    Hello,

    I’m using Dara and new to ww.wp.xz.cn from wordpress.com. I’m wondering how I could keep everything on the Dara slider the same, but also make the Dara slider move as a automatic slideshow (ideally I’d like for it fade in to the next image). Is this something that I’d need a developer to do or can it be done fairly easily?

    My other question is whether there is a easy way to try out different colour palettes in Dara?

    (My site isn’t visible at the moment.)

    Thanks!
    Sarat

Viewing 5 replies - 1 through 5 (of 5 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi, there would be a bit of work involved in this. First you would need to create a Child Theme and then copy the slider.js file over from /wp-content/themes/dara/assets/js/ to the same folder structure in your child theme. You will then have to denqueue the original slider.js file and enqueue the new one in your child theme in the child theme functions.php file so that it loads instead of the original file. You would then have to edit the slider.js file to make the slider auto advance and add a delay to that file as well, and then also adjust the animation to your liking.

    References:
    wp_dequeue_script: https://developer.ww.wp.xz.cn/reference/functions/wp_dequeue_script/
    wp_enqueue_script: https://developer.ww.wp.xz.cn/?s=wp_enqueue_scripts
    flexslider options: https://gist.github.com/warrendholmes/9481310

    Thread Starter saratcollins

    (@saratcollins)

    Thank you so much for explaining this. One of the reasons I moved to .org was wanting to make it into a moving slider but keep my Dara theme which is almost set up. So I might hire someone to do this. Is this a fairy standard type of customization or might one say it’s a bit much effort for the result?

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    It’s not a huge amount of work for those that have experience with making WordPress Child themes. It’s all pretty much standard stuff and shouldn’t take that long to do.

    Thread Starter saratcollins

    (@saratcollins)

    thanks 🙂

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    You are welcome.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Dara slider’ is closed to new replies.