We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket
Viewing 8 posts - 1 through 8 (of 8 total)
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketWe have moved to a support ticketing system and our forums are now closed.
Open Support TicketHi guys,
I’ve just replaced W3 Cache with GD booster. However, when it is enabled, the format of my website seems to go all over the place. With things appearing where they shouldn’t. It may be an issue with my theme template again, but I wonder if you could take a look please?
I will send my login details on a new message.
Many thanks.
Hi Lucy,
please check now, it should be fixed.
The script “Raphaël 2.1.0 – JavaScript Vector Library”, didn’t like to be concatenated with other scripts, so we excluded it from GD Booster concatenation.
Let us know,
Thx
Hi Paolo,
It is mostly working, but the map is now not loading on the directory page. Thanks.
In fact it’s not working. There is a strange box appearing on the left hand side of the homepage, and one of the widgets in the left hand column has been dislodged. I have attached a screen shot.
Hi again,
we didn’t notice yesterday, but there is a js error in the theme even with GD Booster not active.
It wont work if you have errors, actually it will only make it worse.
A check needs to be added in the theme script to check if the thing it is trying to get exists or not, otherwise if any plugin adds a sidebar with a different class than what used by the theme, the script will return an error.
this is the culprit.
bl = $(".widget-bar")
If wdget-bar does not exist it breaks
It is part of this code :
var $bl = $(".widget-bar"),
$th = $(".container-widget"),
blW = $bl.outerWidth(),
blSW = $bl[0].scrollWidth,
wDiff = (blSW/blW)-1, // widths difference ratio
mPadd = 60, // Mousemove Padding
damp = 20, // Mousemove response softness
mX = 0, // Real mouse position
mX2 = 0, // Modified mouse position
posX = 0,
mmAA = blW-(mPadd*2), // The mousemove available area
mmAAr = (blW/mmAA); // get available mousemove fidderence ratio
Simply adding this check on top of it would stop it in case the element doesn’t exist and would not return an error:
if($( ".widget-bar" ).length){}else{return;}
Usually it would just break the rest of that single script but with GD Booster it will break every script that comes after becasue it’s all in the same file.
Thanks
Hi Paolo,
Thank you, that is really helpful. Only problem being that I have no idea where to find that code?!
I have looked right through the editor section of my wordpress, and just cannot find the right place to put the check? Is it possible for you to tell me exactly which section it’s in. Or if it is less time consuming, just pop it in for me?
Really grateful for all of your help!
Hi Lucy,
the idea was to pass this info to the theme developer, because if you make the change directly on your website, after the next time you update your theme, the problem will popup again.
in any case the file is: wp-content/themes/fullby-premium/js/fullby-script.js
Thx
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketGet the latest news, tips, and exclusive content directly in your inbox.
Confirm your email address, and instantly receive the discount code :)