7 comments found.
Ok. Just add “height” to your block. (for an example – height: 100vh;)
can we add the height in glitcher.js it is difficult to modify the wordpress template.
Yes you can do it but please try to add CSS style via WordPress CSS theme editor. If not – just add “jQuery(this).css({height: ‘100vh’});” string after ” $glitch_elements.each(function() {” string (25-th row)
It’s will work correctly if you have only one glitcher block. If not – JS code should be a little bit different
Many thanks! It works. But it seems it also stops other blocks following it from working.
The template has a block to control the overlay text.
Great! But what exactly block do you mean?
There should be more after the glitcher. Those are mainly to apply a few transparent layers of text over the background image.
Now after the glitcher, the page stop rendering the text
The glitcher block should be independent block without another nested blocks. Just position transparent layers after glitcher block.
my jQuery(this).css(‘background-image’) return none.
Did your HTML file has at least one tag with “glitcher” class?
Does this work with Divi theme for WordPress?
https://tabara.elim.ro/ascendent-2019/Hi! I didn’t check, but I think it should work. Do you want to make glitch image for background?
Congratulations!!!
Nice Work, Good Luck With Sale
Thanks!
Very nice work, big sales to you
Thank you!