This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.
Note that these questions will generally not be answered by the administrators of this forum.
I have added an HTML snippet to my index page making some fireworks explode. However, the icons on the page hide the fireworks. I have tried to move the icons "move to back" to try and bring the firework HTML forward "move to front" but to no avail.
Is there a way of making the HTML snippet override all of the icons on the index page so that the fireworks can be seen?
"move to front" does not work with custom scripts because the software has no idea how your the code works so it cannot modify it.
You will need to modify the script so it has a higher z-index than all other elements on the page.
Pablo wrote: Sat Dec 15, 2018 5:15 pm
"move to front" does not work with custom scripts because the software has no idea how your the code works so it cannot modify it.
You will need to modify the script so it has a higher z-index than all other elements on the page.
Thanks for the reply.
Not being a "coder" i have no idea how to modify the script to make a higher z-index. Is it possible to make the HTML snippet a higher z-index? If so, how can this be achieved?
There is no generic answer to this question.
It completely depends on how the code works, so you will need to understand how the code works to be able to modify it.
Pablo wrote: Sun Dec 16, 2018 2:07 pm
There is no generic answer to this question.
It completely depends on how the code works, so you will need to understand how the code works to be able to modify it.
As you suggested the "z-index" needs to be changed in the HTML snippet, i could not find any reference to it at all in the script. So, what i had to do was go through the index page of my site and change every reference to the z-index from each progressive setting back to zero. This now works fine and the fireworks now show over all of the index gfx
As you suggested the "z-index" needs to be changed in the HTML snippet,
Correct
i could not find any reference to it at all in the script.
Then you will need to add it yourself.
For example, if the firework is created using a div container, then add a z-index to that container.
I do not recommend to change the z-index of the WWB code , it may have 'random' side effects.
As you suggested the "z-index" needs to be changed in the HTML snippet,
Correct
i could not find any reference to it at all in the script.
Then you will need to add it yourself.
For example, if the firework is created using a div container, then add a z-index to that container.
I do not recommend to change the z-index of the WWB code , it may have 'random' side effects.