-
AuthorPosts
-
December 20, 2019 at 12:04 pm #1168089
Hi,
How can i disable the looping of the video in color section background ?
Thank you in advance,
Best regards
Stan
December 20, 2019 at 3:47 pm #1168170Hey sdesign-web,
You’ll need to override section.php (Color Section file).
To make this modification permanent you’ll need to do the following:
1. Use a child theme: https://kriesi.at/documentation/enfold/child-theme/
2. Replace element (Color section) in ALB, here’s an instruction on how to do it: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
3. Copy section.php from Enfold theme, located in enfold>config-templatebuilder>avia-shortcodes, paste this in the shortcodes folder of your child theme.
4. Modify section.php (in child theme), find this code (line 1102).'video_loop' => true,
replace true with false
Hope it helps.Best regards,
NikkoDecember 23, 2019 at 11:57 am #1168707Hi Nikko,
thank you for your return, and for the very clear resources on installing the child theme.
On the other hand, as I have never done it, I have a question that worries me: can I install the child theme even if I have not done it from the start? Indeed, the site in question is almost finished and about to be launched. It includes many customizations made via quick CSS.
So is it possible to install the child theme without any risk of damaging the current site?
Moreover I read in the notes of the version to come that there were new adjustments for the video (sound, loop …) Is my problem of deactivation of loop will be solved with the update ?
Kind Regards,
Stan
December 29, 2019 at 11:42 am #1169063Hi Stan,
I apologize for the delay in getting back to you.
Regarding your question, yes it’s possible, customization done inside WordPress Dashboard is not affected at all.
However there’s one thing you’ll need to do after activating the child theme, and that is to go to Enfold > Import/Export > click on Import Parent Theme Settings and that should be good.
But like any other changes, we advise doing a backup first.
Also just to add confidence in doing above, you can create a staging site first. Basically it’s a duplicate of your site just placed on your subdomain for the purpose of testing so your live site isn’t affected.
Here’s an instruction on how to do it: https://themeisle.com/blog/wordpress-staging-site/
Hope this helps. :)Best regards,
NikkoJanuary 3, 2020 at 4:05 pm #1169358Thank you Nikko ! it works fine !
and the the tip with the staging site which is very useful for testing modifications safely !best regards,
StanJanuary 3, 2020 at 4:11 pm #1169364Hi,
Glad Nikko could help! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)Best regards,
Yigit -
AuthorPosts
- The topic ‘disable looping for video color section background’ is closed to new replies.