Forum Replies Created
-
AuthorPosts
-
November 2, 2022 at 4:51 am in reply to: Update to Enfold 5.2.1 breaks footer and other child elements #1371012
Hi Rickard,
I have updated my site to Enfold 5.2.1 and updated both Header.php and Footer.php in the Enfold Child Theme……..
I did the Child Them file updates via the THEME FILE EDITOR in “Appearance”.
I had both new Parent and Old Child php txt files open so I could compare file contents and identify the customisation section….
I combined the New Parent file contents with Old File Customisations in a NEW CHILD HEADER.php file, then pasted that into the Header.php editor in Appearance/Theme File Editor. I trust that is ok?The Page Element issues seem to be resolved, which is great! :)
However the FOOTER is still showing 4 columns with headings ;
– Intersting Links (nothing underneath
– Pages (with ALL pages listed)
– Categories (With Blog Categories listed)
– Archive (With ALL Archives listed)I can’t seem to get the Widgets to show in the 4 Column Footer???
In Enfold Child Theme Options / FOOTER – If I set the “Default Footer & Socket Settings” to “Don’t Display the Socket and Footer Widgets”, the Footer disappears as expected. However, when I switch back to “Display the Footer Widgets and Socket”, the Footer shows the 4 Columns listed above, as opposed to the 4 Footer Widgets shown in the Appearance/Widgets.
I’ve also just noticed that any Blog with a YouTube Video shows the YouTube URL in the Post Preview comments?
I’ve listed LIVE SITE credentials below. If you’d take a look and let me know what you think, that’d be greatly appreciated.
Kind regards
Cameron
November 1, 2022 at 11:34 pm in reply to: Update to Enfold 5.2.1 breaks footer and other child elements #1370994Thanks Rikard,
I really appreciate your help…… let me take a look and see if I can do it (best to learn while I’m at it, right?)
If not, or if I’m not clear on something, I’ll come back to you asap……
Thanks again for your help…..
November 1, 2022 at 12:04 am in reply to: Update to Enfold 5.2.1 breaks footer and other child elements #1370872Hi Rickard,
Thanks for your reply……
I may need to get some more experienced help with what you’re suggesting, but, just so I’m clear would it be like this….?
1. Copy the Enfold CHILD Header.php & Footer.php file contents into a txt file
2. Paste NEW Enfold Parent Header.php & Footer.php file contents into the CHILD Header/Footer files
3. Paste Customisations ONLY of original Child Files back into updated Endfold Child Header/Footer files
Like that? (Sorry if I’m not correct)
Yes, I can push to STAGING and test the above – Thanks for the suggestion…….
I also really appreciate your help if I have further questions.
kind regards
CameronHi Ismael,
With respect, I’m not sure that it’s reasonable just to assume it is the default behaviour.
If it was, I think you could reasonably expect to see that behaviour more often, on more sites which in my experience, isnt the case.
Anyway, it’s fixed on my site. Thanks.
Hi Ismael,
When I said, “I’m not sure what you’re referring to” I was asking where in the linked YouTube player document you were referring to when you said
“….That’s the default behavior of Youtube videos and there’s no way to disable that according to the documentation….”
Where in that document are you referring to when you make that statement above?
Also, are you suggesting that the default behaviour IS to show a quick snapshot of part of the video before it loads and plays?
Thanks for clarifying…
Hi Ismael,
I’m not sure what you’re referring to. f you could point specifically to the part of that document you refer to, that would be helpful.
Regardless, our developer seems to have been able to have fixed the problem, making these comments….
“…There were some tricky caching issues and problems with the order in which the files were being called but now it is all sorted….”
regards
CameronHi Ismael,
The developer has continued working on the site and has fixed the loading problem, I’ll need to confirm what the issue was exactly, but they’ve gone on leave.
So….the video loads, BUT it now has a weird BLIP before the main video shows….
Can you see that when you load the page? The screen is black…..then BLIP….a quick snapshot of an image appears….then goes black again…then the video loads.
See the below screencast example.
See below for staging site details with CHild theme updates
Hi all,
Ok, I have had a developer update the Child Theme with current Parent details.
The FIRST Load of the background video STILL FAILS.
So updating the CHild theme did not resolve the problem
Can you advise what the next steps are to see if we can resolve the issue please?
Thanks
Hi Basilis,
We used an Upwork contractor. Not sure if we’ll be able to connect with them again? I believe many of the modifications were made to improve the Page score of the standard theme. (minifying javascript etc)
I’m still a bit confused as to why we need to update the Child Theme files. I thought the whole point of them was that any updates made to the Parent theme would reflect in the Child Them EXCEPT for the customisations that had been made in the Child Folders?
Can you suggest any other things I can do to make sure the background video loads properly on our site on first load?
Cameron
Hi Yigit,
My Child Theme Header file is completely different to Parent and I’m a bit confused as to how to proceed.
See Content below.
I’m not sure if I should replace everything in the Child down to ?><!DOCTYPE html> OR <!– mobile setting –> ???
This all stemmed from my initial question about background videos and layer slider not playing on first load (Even though all the settings suggest they should)
Is the Header and Footer code likely to be responsible for that? It kinda feels like I’m on a wild goose chase here???
Can you provide an example of what you’re suggesting I should do to Update the Child Header File using the Parent Header File?
Thanks in advance
Hi Yigit,
Thanks for your message.
I’ve just started going through this process and will do so for Footer and Header files to begin with…..
In relation to Theme Functions – the CHILD functions.php file is VERY different to the Parent theme functions.php file.
The child ONLY has the below
START
<?php//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}
END
Whereas the Parent has 739 lines of code.Is that normal?
What is your suggestion there?
Thanks
CameronHi Rikard,
What I’m talking about is WHERE in the file the customisations sit, (eg in the Stylesheet they tend to sit underneath the main body)
So I can be clear, if you were going to go through this process with the 4 files in our Child theme, how would you make those updates making sure you don’t override anything that has been customised?
Can you list that chronologically?
That would really help, thanks.
Thanks Rikard,
And I’m ‘assuming’ that generally, all customisations would simply be added underneath existing code?
Like in the Stylesheet, it’ll mostly be added to the bottom? Not amended in the Parent code itself?
Thanks!
Hi Rikard,
Thanks.
Just so I’m clear, you’re saying that I should REPLACE the “Theme Footer” and “Theme Header Files” in my Child Theme, with the ones from the Parent Enfold Theme, as per Viktoria’s message below?
June 4, 2019 at 10:04 am #1106963REPLY
Victoria
Moderator
Hi CBurgo,
You have the footer and the header in your child theme. Did you update them with a fresh copy?
Best regards,
VictoriaAnd then I need to re-add any overrides to those files to ensure we don’t lose any customisations?
If that’s the case, is there any easy way to compare the files and SEE if there are Customisations that will be lost if I update from Parent to Child?
Also, is it likely that the “Stylesheet” and “Theme Functions” files will also need replacing to fix the video loading issue?
Thanks and regards
CameronHi Rikard,
So, my understanding of a Child theme is that it includes any customisations to the Parent theme, that way, when UPDATES are made to the Parent, they are reflected in the Child Theme, but these updates DO NOT remove or impact those customisations in any way.
If that’s correct, then that is the full extent of my knowledge about Child themes. :)
We do have some customisations which is why we use a Child theme.
I thought Updating the Main theme was all we needed to do to keep the site up to date? (At least that’s what I read here – https://kriesi.at/support/topic/how-to-update-enfold-theme-with-a-child-theme/)
So, please accept my ignorance here, but;
1. I’m not sure which files I should be copying over from the Parent Theme – ALL of them??? Won’t that write over any customisations we’ve made?
2. I’m also not clear on which exact files you’re talking about when you talk about the ones that “have been added in the first place”? I assume you mean in the Child Theme, but I just want to be clear before I go & do anything drastic. :)
I appreciate your help and education on how to keep our Enfold Theme working correctly.
Thanks in advance and kind regards
Cameron- This reply was modified 5 years, 5 months ago by CBurgo.
Hi Victoria,
Ok, thanks for that clarification.
Do you have some simple instructions on exactly what needs to be done & how to do it?
A step by step guide or something? I’m ok at handling our website bit’s and pieces, but I’m certainly no expert, so can you point me to some instructions on how to get this done?
Thanks in advance and kind regards
CameronHi Victoria,
Thanks for your help with this….
I generally update all items on the site, ie themes and plug ins, as required when there is an update available.
Please forgive me if I’m not 100% clear on whether you’re suggesting I should be doing something other than that?
Can you clarify please?
Hi Victoria,
Ahh, gotcha. :)
Yes, admin access provided below. Thanks in advance for your help. :)
Hi Victoria,
Thanks for this.
I’m unclear on what you mean by “regular mode”?
The video will play on Chrome via you tube.
Are you referring to a different mode in Enfold or Layer slider?
We use Ontraport for our forms. Has there been any discussion about errors in relation to Ontraport?
Thanks for your help and clarification.
Kind regards
CBurgoThis reply has been marked as private.January 21, 2019 at 7:43 am in reply to: Enfold 4.5 with old version of Layer Slider showing Multiple jQuery issue #1056466Hi Rickard,
Thanks. We have seen the issue persist intermittently, so we’ll keep an eye on that and hopefully it stays gone.
Appreciate your help with this, thanks again.
Kind regards
CameronJanuary 20, 2019 at 11:56 pm in reply to: Enfold 4.5 with old version of Layer Slider showing Multiple jQuery issue #1056357Hi Rikard,
I don’t think ALL of the plugins have been deactivated to test this, but yes, please go ahead and temporarily deactivate what you need to, to find out what’s causing the issue.
Thanks in advance for your help
regards
CameronJanuary 17, 2019 at 3:32 am in reply to: Enfold 4.5 with old version of Layer Slider showing Multiple jQuery issue #1054830Hi Rickard,
We’ve not been able to find what’s causing this “Multiple JQuery” Error.
Can you help please? I’ve attached admin logins
Thanks in advance
CameronThanks Ismael,
I understand you see the video,
but in our office we regularly get NO VIDEO on first load. We dont know why.
I’m not aware of adding any autoplay parameters
We simply uploaded the video to youtube and set it to autoplay as a background video on the site.
Should the autoplay parameter be set to something else?
Thanks Victoria,
One quick question to clarify…..
Our video on the home page has NO Audio. We completely stripped the audio out before uploading to YouTube.
So, I would have thought that this would comply with Google’s auto play policy that Ismael quoted.
ie – Chrome’s autoplay policies are simple:
Muted autoplay is always allowed.
But we seem to be getting blocked on the first play anyway?
Is there a way to ensure Chrome recognises that the video has no audio?
Thanks in advance
CameronThanks Ismael,
And we can still add the text over the top of the video background, correct?
And the video will autoplay?
Hi Ismael,
THanks for your reply.
The video is muted. But it does not play on first load.
This happens regularly for me and I would have thought that I’m one of the Users who fits into the criteria you’ve listed. ie interacted with the site, clicked a link etc
So I’m not sure why it’s not playing for me first load.
Do you have any workarounds for this, for background videos?
If I go to https://experience.velocityfrequentflyer.com/ that video plays every single time on Chrome, even after clear cache on. What are they doing to make that happen?
Thanks
CameronJuly 24, 2018 at 12:27 am in reply to: Background video not playing on first time loading the page #988978Hi there,
We have the same issue on our site
(The site is using the Autoptimize plug in to fix CSS and JS loading)
We are using Chrome and Firefox on both Mac and PC
Sometimes the Home page video runs on first load, other times it does not
Then the same issue also happens at times on another page with a different video as background element.
I’ve cleared cache & cookies multiple time but it still seems to break randomly
Can you help please?
Thanks
CameronHi Basilis,
Thanks for your reply,
does this method mean I’d have to be using a child theme?
Thanks in advance
CBurgo -
AuthorPosts