-
AuthorPosts
-
June 3, 2014 at 8:13 pm #274158
I just updated the theme to version 2.8.1 from 2.7.1 and everything seems to be working perfectly. The only issue is that I tried to get the animated numbers element to work from the content elements but it doesn’t work at all. I will note that I am using a child theme currently.
I tried activating the parent theme just to see if the animated numbers element would work that way and it did for some reason. Can you please help me get this feature working with my child theme since I’d really like to implement it into my website? Please let me know if you need any more info or login credentials. Thanks!
June 3, 2014 at 8:25 pm #274172Hi,
Can you please create me an administrator account? post it here as a private reply.
Regards,
JosueJune 3, 2014 at 9:11 pm #274191This reply has been marked as private.June 3, 2014 at 9:24 pm #274202Hi!
I would guess a conflict with one of the active plugins. The numbers aren’t getting the correct visibility applied to them so they are staying hidden. I added:
.js_active .avia-animated-number-title { visibility: visible; }
to your Quick CSS but it looks like the server has some server side caching so its not getting updated on the front end. Either that or there is something else preventing the enfold.css from getting updated.
Regards,
DevinJune 3, 2014 at 9:38 pm #274217I already tried deactivating all of the plugins and that didn’t make a difference. When I activate the parent theme it works no problem and all of the same plugins are active.
I just tried flushing the cash in wordpress and now the number shows up but it is not animating. Can you please help? I’m wondering if there is a way to copy of all the files I need for the animated numbers over to the child theme. Would that help or make a difference?
June 3, 2014 at 9:47 pm #274222You are including the old shortcodes.js in your child theme, that’s why it’s not working:
if(!is_admin()) add_action('wp_enqueue_scripts', 'avia_register_child_frontend_scripts', 1); function avia_register_child_frontend_scripts() { $child_theme_url = get_stylesheet_directory_uri(); wp_dequeue_script('avia-shortcodes'); wp_enqueue_script( 'avia-shortcodes', $child_theme_url .'/js/shortcodes.js', array('jquery'), 1, true ); }
You need to update that file.
Best regards,
Josue- This reply was modified 10 years, 6 months ago by Josue.
June 3, 2014 at 10:25 pm #274265That did the trick! Thank you so much for the awesome support! You can mark this as resolved.
June 3, 2014 at 10:27 pm #274268You are welcome, always glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘Animated Numbers’ is closed to new replies.