• Resolved outpost33

    (@outpost33)


    Hi,

    Enabling AO is causing the lightbox of Essential Grid to load incorrectly. I have tried every combination of settings I can think of, and have excluded the following scripts with no success:

    jquery.themepunch.essential.min.js, jquery.themepunch.revolution.js, lightbox.js

    I then disabled optimisation of javascript completely, but even this didn’t work to fix Essential Grid. Eventually I had to disable the plugin, but that alone was not enough. I then had to disable and re-enable some custom CSS I had applied to the Essential Grid lightbox overlay in order to restore it.

    Any suggestions? Thanks in advance for your help!

    http://www.wiperstimesplay.co.uk

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Goossens

    (@futtta)

    well, could have been a CSS optimization problem to begin with? would have to see this in a broken state, do you have a non-production site where I could see that happening & we can experiment some?

    (the fact that you had to re-apply custom CSS-settings makes me suspect this was more then just AO playing up, as AO never changes any original CSS-file or setting)

    Thread Starter outpost33

    (@outpost33)

    Hi again,

    In the end I opted to use a different grid plugin (The Grid) and this seems to be working fine, all functions intact.

    However, autoptimize does seem to cause issues with the front-end editor of the X Theme, Cornerstone. I would therefore like to disable autoptimize for logged in users, and I found the following code in another thread:

    add_filter('autoptimize_filter_noptimize','my_ao_noptimize',10,0);
    function my_ao_noptimize() {
    	if (is_user_logged_in()) {
    		return true;
    	} else {
    		return false;
    	}
    }
    

    I’m just not sure how to use it or where to put it!

    Thread Starter outpost33

    (@outpost33)

    It’s ok, I think figured it out – made the code into a plugin and uploaded.

    That should work, yes?

    Plugin Author Frank Goossens

    (@futtta)

    made the code into a plugin and uploaded. That should work, yes?

    absolutely, even better then the alternatives (adding it to your theme’s functions.php or using the code snippets plugin) 🙂

    Thread Starter outpost33

    (@outpost33)

    Yes, works perfectly. Site is working very nicely now.

    Plugin does need a bit of tlc to really make it sing, but once configured correctly it’s really splendid!

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Conflict with Essential Grid and its Lightbox’ is closed to new replies.