Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #135368
    Metsis
    Participant

    Hello!

    I have the gratis version of Clean Education, and I’m wondering, if I can adjust the speed of the course carousel, slider. If there is no GUI, I can handle code tweaking.

    TIA

    #135485
    Skandha
    Keymaster

    @metsis: For this you will need to create a child theme. You can use this plugin if you do not know how to create a child theme.

    Go to => Parent theme folder => inc => courses.php and find the function clean_education_courses_display() and copy it.

    Go to => Child theme folder => functions.php and paste the code.

    Then find the text data-cycle-next=".content-next" in the code and paste the following code in the next line.

    data-cycle-timeout="1000"

    Here 1sec=1000, 2sec=200 and likewise. You can set the time according to your requirement.

    Let me know if this solves your issue.
    Regards,
    Skandha

    #135539
    Metsis
    Participant

    Skandha,

    Thank you! I installed the plugin and created a child theme. It deactivated both Featured and Course carousels, but it was simple to just click them back. It took me a couple of seconds to realise, that the data cycle setting is within a div output and not PHP code. It seems, that you have a slight typo in “1sec=1000, 2sec=200”, i.e. it should be 1 s = 1000, 2 s = 2000 and so on.

    Another point is, that either WP or browsers seem to cache values, so finding a pleasing speed required some patience and pressing of the refresh button. Works now, thank you.

    #135540
    Metsis
    Participant

    Argh! Now is my custom CSS lost. I had some style definitions in Additional CSS. When I created the child, these were not copied nor there seems to be a way to access those in the original.

    #135598
    Skandha
    Keymaster

    @metsis: You can switch to the parent theme and copy the additional css and then bring it to the child theme.

    Let me know if this solves your issue.
    Regards,
    Skandha

    #135609
    Metsis
    Participant

    Phew! Thank you.

    #135633
    Skandha
    Keymaster

    @metsis: Hello there, I hope I was able to resolve your issue. If it’s not too much trouble,
    I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/clean-education/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help,
    don’t hesitate to let me know. Have a good day.

    Regards,
    Skandha

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Clean Education course slider, carousel speed’ is closed to new replies.