Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #357530

    Hi,
    we are using the iconlist animation and icon fonts in a foooter widget.
    On five sites with a portfolio grid in the main part, the icons below the portfolio grid and the footer icons aren’t displayed at all or only partially.
    Please have a look at http://hofer-filmtage.com/festivalfilme-2014/
    We just talked about this item on https://kriesi.at/support/topic/icon-font-doesnt-appear/, but we had to interrupt the support, because the film festival was running.
    Thanks a lot
    Bernd

    #357534

    Hey profil77!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #footer span.av_font_icon.avia_animate_when_visible.avia_start_animation.avia_start_delayed_animation {
    -webkit-animation: none!important;
    -moz-animation: none!important;
    animation: none!important;
    opacity: 1!important;
    transform: none!important;
    -webkit-transform: none!important;
    -moz-transform: none!important;
    }

    Best regards,
    Yigit

    #357574
    This reply has been marked as private.
    #357860

    Hi!

    Have you tried flushing browser cache and refreshing your page a few times? It does work fine on my end on both languages

    Best regards,
    Yigit

    #358357

    Hi Yigit,
    thanks, but that doesn’t work, too. We noticed another mysterious behaviour: as soon as we modify the browser’s width or height, all icons appear suddenly. And also mysterious, as you know: the icons work fine on all other pages of the site.
    Best regards, Bernd

    #359298

    Hi,

    Try adding this at the very end of your theme / child theme functions.php file:

    function add_custom_script(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
         $(window).trigger('resize');
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Regards,
    Josue

    #359459

    Hi Josue,
    thanks a lot, but unfortunately that doesn’t work too. If you want to have a look on our WP, you’ll find your code at the end of functions.php and Yigit’s CSS code in the english version of ENFOLD theme options.
    From our point of view the connection point is: every icon animation works fine on every page of the site with the exception of these 5 portfolio pages.
    Best regards, Bernd

    #360000

    Hey!

    Please check it now, i added this code (here) and it seems to be fixed now:

    function fix_icon_issue(){
    ?>
    <script>
    (function($){
        	$(window).scroll(function(){
                $(this).trigger('resize');
            });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'fix_icon_issue');
    

    Regards,
    Josue

    #360080

    Hi Josue!
    Wow, everything works fine. Thanks a lot. And the new plugin, that’s really great.
    Does this mean, that we can put all extensions of functions.php to the plugin-code? So we don’t have to touch this file after an update?
    Thanks and best regards to South America
    Bernd

    #360094

    Hey Bernd!

    Yes, that’s a handy plugin when you don’t have a child theme available.

    Cheers!
    Josue

    #361364

    Hi Josue,
    would you please have a look on a detail? If you open the homepage, you’ll see the fullscreeen slider.
    Scrolling down or cklicking on “NEWS”, there is something like a little jump or a jerk of about 40 px to the bottom.
    That movement only occurs if your plugin with the icon fix is activated.
    Thanks and best regards
    Bernd

    #364240

    Hi Bernd!

    Check it now, i changed it so the code only gets applied on the festivalfilme-2014 page.

    Cheers!
    Josue

    #364503

    Hi Josue,
    thanks, but sorry: (1) the code still gets applied to every page.
    (2) We have to fix the problem for ten pages. You may write the code for two pages and I will complete the other ones.
    Best regards, Bernd

    #364897

    Ok, here’s the code:

    function fix_icon_issue(){
    if( is_page( array( 77, 232 ) ) ){
    ?>
    <script>
    (function($){
        	$(window).scroll(function(){
                $(this).trigger('resize');
            });
    })(jQuery);
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'fix_icon_issue');

    Just put the Page IDs of the pages you want to affect here array( 77, 232 ).

    Cheers!
    Josue

    #365233

    Hi Josue,
    great, that’s the perfect solution. Everything works fine now.
    Thanks a lot and best regards
    Bernd

    #365499

    You are welcome Bernd, always glad to help :)

    Regards,
    Josue

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Icon Fonts don't appear’ is closed to new replies.