Okay
  Public Ticket #2221643
Interactive Grid
Closed

Comments

  • mohammedneon started the conversation

    Hi Guys,

    I have purchased Bifrost theme a couple of days back and I am using the 'Interactive Grid' Page. The page seem to work fine on Desktop but the same interactive grid doesn't work on mobile. It is not showing any other images on touching the mobile grid. It just shows one image across I want the image to change whenever a user touches the mobile grid. Thanks

  •  675
    Neuron replied

    Hi,

    Well, on this one you need a bit of JavaScript and a simple line of CSS.

    So please first install the following plugin.

    https://wordpress.org/plugins/insert-headers-and-footers/

    Go to Settings > Insert Headers and Footers and add the following script.

    <script>
        jQuery('.o-interactive-item').on('click', function(){
            jQuery(this).find('a').css('pointer-events', 'all');
        }); </script>

    And add this line of CSS in Appearance > Customize  > Additional CSS.

    .o-interactive-item a {  
        pointer-events: none;
    }

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • mohammedneon replied

    Hey thanks much for the help, with the script that you have shared, the transition is achieved on mobile as well. The issue with this code is now portfolio pages are not opening on click or tap. Ideally, for mobile it should open portfolio pages on second tap and on desktop on hover it should change the background image (Which is happening currently on the page) and on click it should take to inner portfolio pages. Sharing link for your reference - http://www.healthontrack.in/interactive-grid/

     Thanks again for such a prompt response. Appreciate it team. Highly Recommend Neuron. 

    Regards,

    Mohammed F

  •  675
    Neuron replied

    Hi Mohammed,

    Can you please provide me with your wp-admin, I will have a quick look to see what's going on. Make sure to tick private on the reply.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •   mohammedneon replied privately
  •  675
    Neuron replied

    Hi Mohammed,

    I have make it simpler by using only CSS, please check it again and let me know if it is alright.

    Kind regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • mohammedneon replied

    Thanks much, yes this is what I wanted.. Thanks so much for the help. There is one last request.. In the same page, for the interactive grid page, I want to add different images for Desktop and Mobile. Right now, same image gets cropped for mobile but I want to customise the image.. Can you please help me with it? Again thanks a lot for all your help.

    Regards,

    Mohammed F

  •  675
    Neuron replied

    Hi Mohammed,

    Well, by default way there is not any way to achieve that. You can do that by creating two interactive items and one to hide in desktop the other one to hide on mobile, I don't know if that sounds like a good solution to you.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • mohammedneon replied

    Yes, that should work but can the same link open two different interactive items?

  •  675
    Neuron replied

    Hi,

    Yes, you can make some portfolio items only dummy and use them for mobile, they'll have only featured images but their content can be empty and in Page Settings > General you can redirect them one by one to their respective portfolios.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • mohammedneon replied

    Can you please explain me this in detail? There is a confusion for this and I am unable to find a way to do it...


    Regards,

    Mohammed F

  • mohammedneon replied

    Since you have got the credentials, you can just help me create one dummy portfolio item and then I can apply the same for other...

  •  675
    Neuron replied

    Hi Mohammed,

    1) You can enable the redirect here on the portfolio item settings. https://prnt.sc/q2xmil

    So you can create two interactive grids one for desktop and the other one for mobile.

     - https://prnt.sc/q2xnis

    - https://prnt.sc/q2xnwy

    So in your query you can separate them into different categories. Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • mohammedneon replied

    Thanks much, I have achieved two different sized images for mobile and desktop. Just curious to understand, will this affect website speed? Also, for mobile interactive grid shows ‘Grey’ background instead of a first grid image. I have already selected ‘show first image as default’ as an option in the page. Thanks


    Regards,

    Mohammed F

  •  675
    Neuron replied

    Hi Mohammed F,

    No worries about the page speed, the responsive options hides it properly so nothing would load and the speed will still be the same.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • mohammedneon replied

    As per my earlier query, For mobile interactive grid shows ‘Grey’ background instead of a first grid image. I have already selected ‘show first image as default’ as an option in the page still it just shows grey background. Could you please check and help me with the same. Thanks


    Regards, 

    Mohammed F

  •  675
    Neuron replied

    Hi Mohammed,

    I am sorry for the late reply, can you please provide me with your wp-admin. I will have a quick look and see how that can get fixed.

    The reason why that is showing, because it is getting the image from the top interactive post, which is already hidden.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •   mohammedneon replied privately
  •  675
    Neuron replied

    Hi Mohammed,

    There can be several things that can slow down the hosting, I can suggest you to take a look into this article.

    - https://www.searchenginewatch.com/2018/07/24/how-to-minimize-cpu-usage-in-wordpress/

    As for Bifrost, I don't believe that Bifrost is heavy, it is quite opposite, the package is 8.8mb and from 8.8 the plugin Revolution Slider(zip file) is 6.4mb so Bifrost basically is only 2.4mb and the requests & features are quite low.

    There's also a plugin where you can tract the server health stats, maybe that could give you a better overview.

    - https://wordpress.org/plugins/wp-server-stats/

    Also, as for the interactive grid, I've added some Custom jQuery at Settings > Insert Headers which fixes that.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.