Shape 5

Wordpress Club Themes => Modern Flavor - Club => : dmock9999 June 17, 2013, 11:12:18 AM



: Shaper text overlay invisible, Images won't load unless mouseover
: dmock9999 June 17, 2013, 11:12:18 AM
Thank you for the swift response to my previous post.

I installed the modern flavor shaper, and after hours of trying to figure this out I'm hoping you can give me some assistance.  The entire overlay to the shaper appears to be invisible.  The text at least loads, as it can be highlighted, but it won't display.  Additionally, images on the page appear invisible unless I mouse over them.  I'm guessing this is a common problem, as the shaper is pretty much installed out of the box. 

Attached a screenshot of the issue to make it more clear.  Appreciate the help!


: Re: Shaper text overlay invisible, Images won't load unless mouseover
: Tristan Rineer June 17, 2013, 11:34:23 AM
Can you provide a URL?

The demo was created using the shaper; I develop and create demo content on my personal server and use the same shaper to create the demo as is made available for download.

For the images not loading, it's probably because they're set to "lazyload", they should automatically load as you begin to scroll down the page.

I'll need to actually look at the fader on your site to see what's going on with it.


: Re: Shaper text overlay invisible, Images won't load unless mouseover
: dmock9999 June 17, 2013, 11:40:37 AM
Thanks for the reply.  I tried scrolling down the page, didn't seem to work.


Here's the site link:

http://buzzgrip.net/


: Re: Shaper text overlay invisible, Images won't load unless mouseover
: Tristan Rineer June 17, 2013, 11:43:49 AM
Something on your site is loading a second copy of jQuery, which is most likely what is breaking the scripts.  Do you have any other plugins activated?


: Re: Shaper text overlay invisible, Images won't load unless mouseover
: Tristan Rineer June 17, 2013, 12:01:11 PM
If you don't know what's loading the second jQuery, you can try adding the following code to the beginning of the theme's functions.php file:

:
if( !is_admin()){wp_deregister_script('jquery');}


: Re: Shaper text overlay invisible, Images won't load unless mouseover
: dmock9999 June 17, 2013, 01:19:56 PM
Thank you Tristan, solved the problem!  The issue was, as you mentioned, multiple instances of jquery.  After disabling some plugins, I determined the culprit to be the Easy Restaurant Menu Manager plugin. 

:
if( !is_admin()){wp_deregister_script('jquery');}

Adding this to the beginning of functions.php did not solve the problem.  However, going off your suggestion that multiple jquery scripts was the issue, I was able to go into the plugin's code and add a second clause to the if statement that executes wp_enqueue_script('jquery');.  Now it only loads the plugin's jquery scripts on the page that requires the plugin:

:
if (!is_admin() && is_page('menu')){

Now I can finally move on.  Love this template by the way.  Thanks so much for your help solving this problem!