- This topic has 6 replies, 2 voices, and was last updated 5 years, 2 months ago by
Skandha.
-
AuthorPosts
-
March 29, 2018 at 7:21 am #135368
Metsis
ParticipantHello!
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
March 30, 2018 at 2:30 am #135485Skandha
Participant@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,
SkandhaMarch 30, 2018 at 2:21 pm #135539Metsis
ParticipantSkandha,
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.
March 30, 2018 at 2:50 pm #135540Metsis
ParticipantArgh! 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.
April 1, 2018 at 10:52 am #135598Skandha
Participant@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,
SkandhaApril 1, 2018 at 3:26 pm #135609Metsis
ParticipantPhew! Thank you.
April 2, 2018 at 1:14 am #135633Skandha
Participant@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 -
AuthorPosts
- The topic ‘Clean Education course slider, carousel speed’ is closed to new replies.