Close

Profile: Jcomp

Avatar

User posts

Hello,

I've downloaded and installed NopEmporiumTheme_4.2.370.30389 and bug is still there :-(

Hello Anton,

Please check http://gamma.monety.com.ua/ now.

As you can see the Nop Sale of the Day is loaded but pictures are not displayed. Try to scroll page and you will that images are shown.

My view on the problem is: sevenSpikesCore.loadImagesOnScroll() is called before owl.carousel is initialized.

Well, thanks. But that is not what I'm trying to achieve. I'm just trying to say that lazy loading images suppose to work and there is a bug in Nop Sale of the Day component which needs to be fixed.

As workaround following could be used:


(function ($) {
    $(document).ready(function () {
        var owl = $('.owl-carousel');
        if (owl.length > 0) {
            // Listen to owl event initialized:
            owl.on('initialized.owl.carousel', function (event) {
                // Hook loadImagesOnScroll to lazy load image in owl carousel
                window.sevenSpikesCore.loadImagesOnScroll();
            });
        }
    });
})(jQuery);


Is there any better solution?

Hi,

I'm trying to get Sale of the Day working and got a problem that pictures are not displayed until user scroll the page;

I think because of lazy loading picture and for some reason, it is not considered as the picture in the current viewport.

Demo: http://gamma.monety.com.ua

one month ago

I see, thanks.

one month ago

Hi,

I'm not sure that this is related to Emporium Responsive Theme, most likely it is about the whole product including plugins.

Is Russian language pack available? I have about 1170 records in [LocaleStringResource] table where ResourceName started with 'SevenSpikes%' and ResourceValue is in English (For LanguageId = Russian).

Hi Valentin,

Thanks, it did the trick.

I have a difficult time to add Font Awesome (or any other icons font) to the theme.
The problem is related to the fact that theme is using a pseudo selector for all element to change font-family:

*:before, *:after {
    font-family: "emporium-icons";
    box-sizing: border-box;
}

And if I comment out that, Font Awesome start working, but theme icons stop. What would you suggest?