Buy me a coffee

Add a Video Banner to top of a Product (Use Footer Section)

#1. First, edit Site Footer > Add a Section > Design layout what you want

Here is an example, I will add some info to this section

and suppose this is the second section in the Footer

Add A Video Banner To Top Of A Product Use Footer Section 01 Min

#2. Use this code to Custom CSS box

footer.sections section:nth-child(2) {
  display: none;
}

 

#3. Edit Product where you want to add this Video Banner Section > Edit Additional Info > Add a Code Block> Paste this code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
  jQuery(document).ready(function($){
  $('footer.sections section:nth-child(2)').insertBefore('body[class*="type-products"].view-item article>section:first-child');
})
</script>

Add A Video Banner To Top Of A Product Use Footer Section 02 Min

Result:

Add A Video Banner To Top Of A Product Use Footer Section 03 Min