-
AuthorPosts
-
March 14, 2017 at 6:26 am #760446
How can we add animation to the logo?
can we use animate.css and wow.js?March 14, 2017 at 8:29 am #760518Hey amrod1,
Yes animations are possible within Enfold.
You can add your CSS in Dashboard > Enfold > General Styling > Quick CSS or inside the /enfold/css/custom.css. We use CSS animations in a lot of different areas. You can find examples in the following files.
/enfold/config-templatebuilder/avia-template-builder/assets/css/avia-builder.css /enfold/config-templatebuilder/avia-template-builder/assets/css/avia-modal.css /enfold/css/layout.css /enfold/css/shortcodes.cssAs for Animate.css You can add this to your functions.php file to include it in the footer.
add_action( 'wp_footer', 'enfold_customization_custom_js' ); function enfold_customization_custom_js() { ?> <script type = "text/javascript" src = "URL to your script"></script> <?php }Best regards,
Jordan ShannonMarch 20, 2017 at 2:17 am #763410how we will add css class to logo since we add the logo from settings?
March 20, 2017 at 2:41 am #763418March 28, 2017 at 2:08 am #767826it will not work like that,
I want to use wow.js and animate.css so I need to add classes to logo section.
for example:
<strong class="logo wow flipInX">March 28, 2017 at 4:53 am #767855Hi,
You can add in header.php via jquery:
<script>$('strong.logo.bg-logo').addClass('className');</script>Best regards,
Jordan ShannonMay 25, 2017 at 1:04 am #799278Animate option for the logo will be very neat :)
May 25, 2017 at 1:10 am #799283Hi,
If this is something you would like to see in a future release please add it to the feature requests. https://kriesi.at/support/enfold-feature-requests/
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.
