Forum Replies Created
-
AuthorPosts
-
Hi Mike
Belated thanks for this. I’ve just upgraded enfold (having held off because of the issues this caused).
The issues recurred, and I then found your solution, which I have deployed.
Presumably I now need to remember to update avia.js in the child theme and comment out those rows in order to keep things current.
Thanks again,
MattThis is the problematic code:
// make sure it’s the same location
if(oldLocation+newHash==newLocation || originHash)
{
if(cur_offset != target) // if current pos and target are the same dont scroll
{
if(!(cur_offset == 0 && target <= 0 )) // if we are at the top dont try to scroll to top or above
{
the_win.trigger(‘avia_smooth_scroll_start’);// animate to target and set the hash to the window.location after the animation
$(‘html:not(:animated),body:not(:animated)’).animate({ scrollTop: target }, duration, easing, function() {// add new hash to the browser location
//window.location.href=newLocation;
//if(window.history.replaceState)
//window.history.replaceState(“”, “”, newHash);
});
}
}As you can see, we comment it out; but it keeps recurring every time there’s a theme upgrade.
How can we move this to the child theme such that it doesn’t continually cause us issues?Hi Rikard
This
https://www.geegeez.co.uk/racecards/#id=372422&display=full-results
is an example of a link in our world. We use the # as a legitimate part of the url but, because Avia’s page builder seems to claim exclusive url rights to # it causes strange behaviour.Our workaround is above, but we have to do this every time the theme updates.
We’d very much like to remove this once and for all. Do you have any suggestions?
Hopefully that is clearer, though I’m not convinced it is!
Matt
Further to the above, we are currently having to edit the main theme as follows:
Comment out the following in this file/line
js/avia.js 773
if(window.history.replaceState)
window.history.replaceState(“”, “”, newHash);We use a child theme but cannot find a way to overwrite this therein, so have to re-edit the main theme each time an update is installed.
September 5, 2019 at 11:11 pm in reply to: Update 4.6 makes cookie consent reload every time #1134646Upgraded to 4.6.1 across two sites. Still have the same issues. Had to disable cookie consent, which obviously means I’m breaking the law. Not a good place to be but there are still problems here. I have cleared cache.
I’ve left things enabled on https://devplatform.ggzssd.co.uk/ (development site) in case it’s useful for you. That sire re-displays the cookie consent message on every page regardless of whether it is accepted or not. (Incidentally, another modal popup I have on my main site is also re-displaying when enfold cookie consent is activated, so it is having a broader impact than merely enfold code).
- This reply was modified 5 years, 2 months ago by mbisogno.
September 5, 2019 at 12:16 pm in reply to: Update 4.6 makes cookie consent reload every time #1134346Signing in with this issue, too. I have disabled cookie consent for now, but clearly it is not a good situation to be breaching GDPR rules because the software doesn’t work.
Wishing Yigit and the team success in isolating and resolving the issue.
Having been unable to update automatically, and on completion of the FTP update, I now have a very large blue block at the top of the page at https://www.geegeez.co.uk, and the following error message at the bottom:
Fatal error: Call to undefined method AviaHelper::av_print_mobile_sizes() in /home/geegeezc/public_html/wp-content/themes/enfold/functions-enfold.php on line 1858
We have a custom login link that goes in our main menu, and is coded in functions.php in the child theme. I’ve had to remove that temporarily and added a menu link to /wp-login.php. This is obviously a very unsatisfactory workaround.
Help please,
Matt- This reply was modified 7 years, 4 months ago by mbisogno.
Hi
I also have this problem. It’s the second time a new update has failed. I did update manually last time, but it’s really a faff. What is causing this issue, please?
An error occurred while updating Enfold: Download failed. cURL error 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Matt
Just to say that this looks like having been a problem with the child theme. Whenever I update the theme, I have to re-install avia.js into the /js folder in the child theme.
Now working, thankfully.
Hi
I’ve got a similar issue in that my mobile (sandwich) menu has disappeared from the header bar at http://www.geegeez.co.uk
This is since the (forced) upgrade to WP 4.5.1 last night. I have Enfold v3.5.4 installed.
When I tried the suggested css change above, it did display a sandwich menu icon, but there was no behaviour associated with it (i.e it just went to /#)
Do I need to redefine the associated menu? And how do I know to what max-width to set to?
This feels somewhat hacky – is there a planned ‘elegant’ solution?
Matt
Ah, this is very good news. Always happiest when it’s a known issue about to be fixed. :-)
Will look out for the update.
Matt
-
AuthorPosts